summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-04 18:27:00 -0400
committerMike Frysinger <vapier@gentoo.org>2011-07-04 18:27:00 -0400
commit49f1a8702b49e4f1bf121bf22d4196e7199bacfa (patch)
treecbbe3ce92aa687c361bbf027f7f81b0f0cbeebd1 /sh
parentbe990b308ae2e7a725852f22f285267dcfeeaa2a (diff)
downloadopenrc-49f1a8702b49e4f1bf121bf22d4196e7199bacfa.tar.gz
openrc-49f1a8702b49e4f1bf121bf22d4196e7199bacfa.tar.bz2
openrc-49f1a8702b49e4f1bf121bf22d4196e7199bacfa.tar.xz
eat trailing whitespace
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sh')
-rw-r--r--sh/udhcpc-hook.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in
index a14cac9..1a58104 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}"