diff options
Diffstat (limited to 'sh/udhcpc-hook.sh.in')
-rw-r--r-- | sh/udhcpc-hook.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/udhcpc-hook.sh.in b/sh/udhcpc-hook.sh.in index 31f5e689..0744a04c 100644 --- a/sh/udhcpc-hook.sh.in +++ b/sh/udhcpc-hook.sh.in @@ -14,7 +14,7 @@ update_dns() [ -z "${domain}" ] && [ -z "${dns}" ] && return conf="# Generated by udhcpc for ${interface}\n" - [ -n "${domain}" ] && conf="${conf}search ${domain}\n" + [ -n "${domain}" ] && conf="${conf}domain ${domain}\n" for i in ${dns} ; do conf="${conf}nameserver ${i}\n" done |