diff options
Diffstat (limited to 'src-wireless/netcfg-auto-wireless')
-rw-r--r-- | src-wireless/netcfg-auto-wireless | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-wireless/netcfg-auto-wireless b/src-wireless/netcfg-auto-wireless index a3e3fb9..4d0a5e1 100644 --- a/src-wireless/netcfg-auto-wireless +++ b/src-wireless/netcfg-auto-wireless @@ -19,7 +19,7 @@ wifi_auto() set_rf_state "$interface" up || exit $? fi - bring_interface up "$interface" # uses iproute methods---is it there any value to providing option to use ifconfig? + bring_interface up "$interface" # uses iproute methods - is there an option to use ifconfig? networks=$(list_networks "$interface") if [[ -z "$networks" ]]; then @@ -31,7 +31,7 @@ wifi_auto() local found_profile - [ -z "$AUTO_PROFILES" ] && AUTO_PROFILES=$(list_profiles) + [[ "$AUTO_PROFILES" ]] || AUTO_PROFILES=$(list_profiles) # JP: add ability to use AP instead of ESSID while read ap essid; do |