From 41b8e8b66bfeb2a6bb851355ea141d7064eddb10 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Thu, 23 Aug 2012 11:22:53 +0200 Subject: 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 --- network | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'network') diff --git a/network b/network index b8b6989..de6e9b4 100755 --- a/network +++ b/network @@ -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() { -- cgit v1.2.3