diff options
author | Tom Gundersen <teg@jklm.no> | 2012-08-23 11:22:53 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2012-08-23 11:22:53 +0200 |
commit | 41b8e8b66bfeb2a6bb851355ea141d7064eddb10 (patch) | |
tree | 616128e15ab0c07a20add65e13fd90aa218ba303 /network | |
parent | 7e019c49b21cf2e975ff7d8b2bedf3bb2477d1c6 (diff) |
add some deprecation warnings
As we are moving to systemd, alert initscripts users in case they use the legacy configuration options.
The legacy options will still work in initscripts, but eventually will not work with systemd. In other
words, most users will want to switch to the new settings.
Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'network')
-rwxr-xr-x | network | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -18,9 +18,7 @@ need_legacy() { } deprecated() { - printf "${C_FAIL}Warning:${C_CLEAR} Your network settings are deprecated.\n" - printf " Please refer to 'man 5 rc.conf' on how to define a single wired\n" - printf " connection, or use a utility such as netcfg.\n" + print_depr "The legacy network settings format" "rc.conf(5)" } network_up() { |