diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-04 18:27:00 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-04 18:27:00 -0400 |
commit | 49f1a8702b49e4f1bf121bf22d4196e7199bacfa (patch) | |
tree | cbbe3ce92aa687c361bbf027f7f81b0f0cbeebd1 | |
parent | be990b308ae2e7a725852f22f285267dcfeeaa2a (diff) |
eat trailing whitespace
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | init.d/modules.in | 4 | ||||
-rw-r--r-- | net/ethtool.sh | 2 | ||||
-rw-r--r-- | sh/udhcpc-hook.sh.in | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/init.d/modules.in b/init.d/modules.in index 631e2e57..e6737634 100644 --- a/init.d/modules.in +++ b/init.d/modules.in @@ -23,11 +23,11 @@ start() # remove any KV_EXTRA options to just get the full version x=${KV%%-*} # now slowly strip them - while [ -n "$x" ] && [ "$x" != "$y" ]; do + while [ -n "$x" ] && [ "$x" != "$y" ]; do kv_variant_list="${kv_variant_list} $x" y=$x x=${x%.*} - done + done local list= x= xx= y= args= mpargs= cnt=0 a= for x in $kv_variant_list ; do diff --git a/net/ethtool.sh b/net/ethtool.sh index d4dc11e4..21a22b65 100644 --- a/net/ethtool.sh +++ b/net/ethtool.sh @@ -29,7 +29,7 @@ ethtool_pre_start() { # Skip everything if no arguments [ -z "${args}" ] && continue - + # Split on \n local IFS="$__IFS" diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in index a14cac99..1a581044 100644 --- a/sh/udhcpc-hook.sh.in +++ b/sh/udhcpc-hook.sh.in @@ -30,7 +30,7 @@ update_ntp() { peer_var "${PEER_NTP}" && return [ -z "${ntpsrv}" ] && return - + conf="# Generated by udhcpc for interface ${interface}\n" conf="${conf}restrict default noquery notrust nomodify\n" conf="${conf}restrict 127.0.0.1\n" @@ -64,7 +64,7 @@ update_interface() update_routes() { peer_var "${PEER_ROUTERS}" && return - + if [ -n "${router}" ] ; then metric= [ -n "${IF_METRIC}" ] && metric="metric ${IF_METRIC}" |