diff options
author | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-11-28 15:45:03 +0000 |
commit | ac9279cc0d5a00bc17908b2914941186020cd3ce (patch) | |
tree | 850a4fe19917113e75bfd2e79d00b58208468503 /net.Linux/pump.sh | |
parent | 444f23e2d158389b22d40537fc9b027d9f575229 (diff) |
Massive whitespace cleanup
Diffstat (limited to 'net.Linux/pump.sh')
-rw-r--r-- | net.Linux/pump.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net.Linux/pump.sh b/net.Linux/pump.sh index bb59dc5d..9e0fee0d 100644 --- a/net.Linux/pump.sh +++ b/net.Linux/pump.sh @@ -39,11 +39,11 @@ pump_start() { [ -z "${opts}" ] && opts=${dhcp} # Map some generic options to dhcpcd - for opt in ${opts} ; do + for opt in ${opts}; do case "${opt}" in - nodns) args="${args} --no-dns" ;; - nontp) args="${args} --no-ntp" ;; - nogateway) args="${args} --no-gateway" ;; + nodns) args="${args} --no-dns";; + nontp) args="${args} --no-ntp";; + nogateway) args="${args} --no-gateway";; esac done @@ -67,7 +67,7 @@ pump_stop() { start-stop-daemon --quiet --test --stop --exec /sbin/pump || return 0 # Check that pump is running on the interface - if ! pump --status --interface "${IFACE}" >/dev/null 2>/dev/null ; then + if ! pump --status --interface "${IFACE}" >/dev/null 2>&1; then return 0 fi |