From f49bb1f3cbdac7f62c69dbe1b20d87bd77cbcb6b Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Mon, 20 Jun 2011 13:54:39 -0400 Subject: 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 --- network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network') 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 ;; *) -- cgit v1.2.3