summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-08-23 11:22:53 +0200
committerTom Gundersen <teg@jklm.no>2012-08-23 11:22:53 +0200
commit41b8e8b66bfeb2a6bb851355ea141d7064eddb10 (patch)
tree616128e15ab0c07a20add65e13fd90aa218ba303 /network
parent7e019c49b21cf2e975ff7d8b2bedf3bb2477d1c6 (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-xnetwork4
1 files changed, 1 insertions, 3 deletions
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() {