From ac9279cc0d5a00bc17908b2914941186020cd3ce Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 28 Nov 2007 15:45:03 +0000 Subject: Massive whitespace cleanup --- net.Linux/pump.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'net.Linux/pump.sh') 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 -- cgit v1.2.3