summaryrefslogtreecommitdiff
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)
downloadopenrc-f0aa06b58626626729f8d7af6f6a9edf08c807f4.tar.gz
openrc-f0aa06b58626626729f8d7af6f6a9edf08c807f4.tar.bz2
openrc-f0aa06b58626626729f8d7af6f6a9edf08c807f4.tar.xz
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 5af6fd1..f5535b8 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}";;