aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-06-20 13:54:39 -0400
committerDave Reisner <d@falconindy.com>2011-06-20 13:54:39 -0400
commitf49bb1f3cbdac7f62c69dbe1b20d87bd77cbcb6b (patch)
treebbe067b1c77483ff6402ade0f2ebad77102397e1
parentcc514f32d04194198e42a63d24ce2e5e9b3df031 (diff)
downloadinitscripts-f49bb1f3cbdac7f62c69dbe1b20d87bd77cbcb6b.tar.xz
network: always warn about deprecation for old funcs
There's no way the ifup|ifdown|rtup|rtdown etc functions will ever hit the new iproute2 based logic. Therefore, always remind the user that this functionality is deprecated. This prevents misusage of the functionality as seen in FS#24714. Signed-off-by: Dave Reisner <d@falconindy.com>
-rwxr-xr-xnetwork2
1 files changed, 1 insertions, 1 deletions
diff --git a/network b/network
index 0177c04..74fc3d1 100755
--- a/network
+++ b/network
@@ -292,7 +292,7 @@ case "$1" in
;;
ifup|ifdown|iflist|rtup|rtdown|rtlist)
# deprecation check
- need_legacy && deprecated
+ deprecated
$1 $2
;;
*)