aboutsummaryrefslogtreecommitdiff
path: root/sh/udhcpc-hook.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/udhcpc-hook.sh.in')
-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 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}"