Make nisdomainname=NO DTRT

Submitted by:   des, via Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
dougb 2002-07-18 05:00:20 +00:00
parent 30dfb601b9
commit 0564223a48
2 changed files with 12 additions and 4 deletions

View File

@ -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 '.'

View File

@ -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 '.'