diff options
Diffstat (limited to 'initramfs/stage3-stuff/bin/servconfig')
-rwxr-xr-x | initramfs/stage3-stuff/bin/servconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs/stage3-stuff/bin/servconfig b/initramfs/stage3-stuff/bin/servconfig index f0396b8d..a3c777d4 100755 --- a/initramfs/stage3-stuff/bin/servconfig +++ b/initramfs/stage3-stuff/bin/servconfig @@ -238,7 +238,7 @@ config_samba ############################################################################# # NIS (variable typically fetched via dhcp) # setup nis configuration if needed -if [ "x$nis_domain" != "x" ] && [ "x$nis_servers" != "x" ] ; then +if [ "x$nis_domain" != "x" -a "x$nis_servers" != "x" ] ; then echo $nis_domain >/mnt/etc/defaultdomain echo -e "# /etc/yp.conf - file generated by $0:\n#\t\ $date\n\nypserver "$nis_servers >/mnt/etc/yp.conf |