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/system.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'net/system.sh') diff --git a/net/system.sh b/net/system.sh index f0472d0a..c44e7099 100644 --- a/net/system.sh +++ b/net/system.sh @@ -57,7 +57,7 @@ _system_dns() { [ -n "${domain}" ] && buffer="${buffer}domain ${domain}\n" [ -n "${search}" ] && buffer="${buffer}search ${search}\n" - for x in ${servers} ; do + for x in ${servers}; do buffer="${buffer}nameserver ${x}\n" done @@ -65,7 +65,7 @@ _system_dns() { [ -n "${options}" ] && buffer="${buffer}options ${options}\n" # Support resolvconf if we have it. - if [ -x /sbin/resolvconf ] ; then + if [ -x /sbin/resolvconf ]; then printf "${buffer}" | resolvconf -a "${IFACE}" else printf "${buffer}" > /etc/resolv.conf @@ -84,7 +84,7 @@ _system_ntp() { buffer="${buffer}restrict default noquery notrust nomodify\n" buffer="${buffer}restrict 127.0.0.1\n" - for x in ${servers} ; do + for x in ${servers}; do buffer="${buffer}restrict ${x} nomodify notrap noquery\n" buffer="${buffer}server ${x}\n" done @@ -109,17 +109,17 @@ _system_nis() { buffer="# Generated by net-scripts for interface ${iface}\n" - if [ -n "${domain}" ] ; then + if [ -n "${domain}" ]; then hostname -y "${domain}" - if [ -n "${servers}" ] ; then - for x in ${servers} ; do + if [ -n "${servers}" ]; then + for x in ${servers}; do buffer="${buffer}domain ${domain} server ${x}\n" done else buffer="${buffer}domain ${domain} broadcast\n" fi else - for x in ${servers} ; do + for x in ${servers}; do buffer="${buffer}ypserver ${x}\n" done fi -- cgit v1.2.3