Make nisdomainname=NO DTRT
Submitted by: des, via Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
parent
30dfb601b9
commit
0564223a48
@ -113,10 +113,14 @@ network_start()
|
|||||||
|
|
||||||
# Set the domainname if we're using NIS
|
# Set the domainname if we're using NIS
|
||||||
#
|
#
|
||||||
if checkyesno nisdomainname ; then
|
case ${nisdomainname} in
|
||||||
|
[Nn][Oo]|'')
|
||||||
|
;;
|
||||||
|
*)
|
||||||
domainname ${nisdomainname}
|
domainname ${nisdomainname}
|
||||||
echo -n ' domain'
|
echo -n ' domain'
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo '.'
|
echo '.'
|
||||||
|
|
||||||
|
@ -113,10 +113,14 @@ network_start()
|
|||||||
|
|
||||||
# Set the domainname if we're using NIS
|
# Set the domainname if we're using NIS
|
||||||
#
|
#
|
||||||
if checkyesno nisdomainname ; then
|
case ${nisdomainname} in
|
||||||
|
[Nn][Oo]|'')
|
||||||
|
;;
|
||||||
|
*)
|
||||||
domainname ${nisdomainname}
|
domainname ${nisdomainname}
|
||||||
echo -n ' domain'
|
echo -n ' domain'
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo '.'
|
echo '.'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user