aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-29 09:45:57 +0000
committerRoy Marples <roy@marples.name>2007-11-29 09:45:57 +0000
commitf0aa06b58626626729f8d7af6f6a9edf08c807f4 (patch)
tree4494d505da6adadcd18ceaec41d02de3db87a184 /sh
parentabc627e4a27662282a4f9cb221bf4e7174ad789e (diff)
Fix whitespace in configs
Diffstat (limited to 'sh')
-rwxr-xr-xsh/net.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sh/net.sh b/sh/net.sh
index 5af6fd1d..f5535b8f 100755
--- a/sh/net.sh
+++ b/sh/net.sh
@@ -497,8 +497,8 @@ start() {
eval config=\$config_${config_index}
[ -z "${config}" ] && break
- set -- "${config}"
- ebegin $1
+ set -- ${config}
+ ebegin "$1"
eindent
case "$1" in
noop)
@@ -564,8 +564,8 @@ ${routes}"
ebegin ${cmd}
# Work out if we're a host or a net if not told
case ${cmd} in
- *" -net "*|*" -host "*);;
- *" netmask "*) cmd="-net ${cmd}";;
+ -net" "*|-host" "*);;
+ *" "netmask" "*) cmd="-net ${cmd}";;
*.*.*.*/32) cmd="-host ${cmd}";;
*.*.*.*/*|0.0.0.0|default) cmd="-net ${cmd}";;
*) cmd="-host ${cmd}";;