From 7223c92b843fc232ebe687cb806051ceab31bfff Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Tue, 27 Mar 2012 17:24:56 +0200 Subject: Remove more deprecated code No need to keep support the "-old" syntax when it doesn't really do anything. --- src/connections/wireless | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/connections/wireless') diff --git a/src/connections/wireless b/src/connections/wireless index 7abb180..a5b7ad2 100644 --- a/src/connections/wireless +++ b/src/connections/wireless @@ -10,10 +10,6 @@ wireless_up() { # Default settings SECURITY=${SECURITY:-none} - if [[ "$SECURITY" != "${SECURITY%-old}" ]]; then - report_warn "SECURITY=none-old, wep-old are deprecated, please use none, wep instead!" - SECURITY=${SECURITY%-old} - fi WPA_DRIVER=${WPA_DRIVER:-nl80211,wext} enable_rf $INTERFACE $RFKILL $RFKILL_NAME || return 1 -- cgit v1.2.3-24-g4f1b