diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/netcfg | 2 | ||||
-rwxr-xr-x | scripts/netcfg-wpa_actiond | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/scripts/netcfg b/scripts/netcfg index dc5ebde..f1d79e8 100755 --- a/scripts/netcfg +++ b/scripts/netcfg @@ -67,7 +67,7 @@ case "$1" in profile_up "$2";; -d|down) profile_down "$2";; - -D|iface-down|-i) # -i is there for backward compatibility (pre 2.7) + -D|iface-down) interface_down "$2";; -a|all-down) all_down;; diff --git a/scripts/netcfg-wpa_actiond b/scripts/netcfg-wpa_actiond index 9e2264b..c6aaf67 100755 --- a/scripts/netcfg-wpa_actiond +++ b/scripts/netcfg-wpa_actiond @@ -52,12 +52,6 @@ fi WPA_CONF="$(make_wpa_config_file "$interface")" if [[ -n "${AUTO_PROFILES}" ]]; then - # At some point, this can be removed. - if [[ ${#AUTO_PROFILES[@]} -eq 1 ]]; then - report_err "Please convert AUTO_PROFILES to an array in /etc/conf.d/netcfg." - AUTO_PROFILES=($AUTO_PROFILES) - fi - for prof in "${AUTO_PROFILES[@]}"; do echo "$prof"; done else list_profiles |