aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/modules.in4
-rw-r--r--net/ethtool.sh2
-rw-r--r--sh/udhcpc-hook.sh.in4
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}"