diff options
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/network1 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1 index 7981858..4e08b9f 100644 --- a/etc/rc.d/network1 +++ b/etc/rc.d/network1 @@ -113,10 +113,14 @@ network_start() # Set the domainname if we're using NIS # - if checkyesno nisdomainname ; then + case ${nisdomainname} in + [Nn][Oo]|'') + ;; + *) domainname ${nisdomainname} echo -n ' domain' - fi + ;; + esac echo '.' |