Fix whitespace in configs

This commit is contained in:
Roy Marples 2007-11-29 09:45:57 +00:00
parent abc627e4a2
commit f0aa06b586

View File

@ -497,8 +497,8 @@ start() {
eval config=\$config_${config_index} eval config=\$config_${config_index}
[ -z "${config}" ] && break [ -z "${config}" ] && break
set -- "${config}" set -- ${config}
ebegin $1 ebegin "$1"
eindent eindent
case "$1" in case "$1" in
noop) noop)
@ -564,8 +564,8 @@ ${routes}"
ebegin ${cmd} ebegin ${cmd}
# Work out if we're a host or a net if not told # Work out if we're a host or a net if not told
case ${cmd} in case ${cmd} in
*" -net "*|*" -host "*);; -net" "*|-host" "*);;
*" netmask "*) cmd="-net ${cmd}";; *" "netmask" "*) cmd="-net ${cmd}";;
*.*.*.*/32) cmd="-host ${cmd}";; *.*.*.*/32) cmd="-host ${cmd}";;
*.*.*.*/*|0.0.0.0|default) cmd="-net ${cmd}";; *.*.*.*/*|0.0.0.0|default) cmd="-net ${cmd}";;
*) cmd="-host ${cmd}";; *) cmd="-host ${cmd}";;