diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/net-profiles | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/net-profiles b/src/net-profiles index d9cc4da..67ab5e8 100755 --- a/src/net-profiles +++ b/src/net-profiles @@ -33,14 +33,8 @@ case "$1" in menu) # Pull up menu of networks /usr/bin/netcfg-menu $NETWORKS_MENU_TIMEOUT ;; - auto-*) # Automatic configuration, store type and get interface next - auto=$network - ;; *) # Either interface or profile - if [[ "$auto" ]]; then # Auto set, so interface - /usr/bin/netcfg-$auto $network - unset auto - elif [ "$network" = "${network#!}" ]; then # otherwise profile + if [ "$network" = "${network#!}" ]; then # otherwise profile /usr/bin/netcfg2 -c $network fi ;; |