diff options
Diffstat (limited to 'etc/rc.d/resolv')
-rw-r--r-- | etc/rc.d/resolv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index 748a10b..a244d71 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -154,7 +154,7 @@ fi # if the info is available via dhcp/kenv # build the resolv.conf # -if [ ! -e /etc/resolv.conf ]; then +if [ ! -e /etc/resolv.conf -a `/bin/kenv dhcp.domain-name-servers` != "" ]; then echo domain `/bin/kenv dhcp.domain-name` > /etc/resolv.conf set `/bin/kenv dhcp.domain-name-servers` |