diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2013-01-03 16:16:25 +0100 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2013-01-03 16:16:25 +0100 |
commit | 6539dfe0df5c19e8acb8fe251b46098a25719cbc (patch) | |
tree | 72a2e189ca588b4d3878db73cb7171063287d35e /src/lib/auto.action | |
parent | fafa6603f87d68fd6b30dcfd4600cb1006e02a9e (diff) | |
download | netctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.gz netctl-6539dfe0df5c19e8acb8fe251b46098a25719cbc.tar.xz |
Indentation fixes
This settles a style for 'case' statements:
The label and closing colons are indented with two spaces,
The body is indented with two more, totalling four spaces.
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 |