diff options
Diffstat (limited to 'src/lib/auto.action')
-rwxr-xr-x | src/lib/auto.action | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/auto.action b/src/lib/auto.action index bdbb9ad..ae49384 100755 --- a/src/lib/auto.action +++ b/src/lib/auto.action @@ -31,7 +31,7 @@ case $action in netctl-auto stop "$interface" exit 1 fi - ;; + ;; DISCONNECT) if [[ -z $profile ]]; then dhcpcd -k "$interface" @@ -42,15 +42,15 @@ case $action in exit 1 fi ip_unset && rm -f "$PROFILE_FILE" - ;; + ;; LOST|REESTABLISHED) # Not handled. exit 0 - ;; + ;; *) # ??? exit 1 - ;; + ;; esac |