diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:46:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:46:43 +0000 |
commit | e6b090d4f90cc39e50a7e7fe633df06c78d58304 (patch) | |
tree | edecd69f18df876fb66d90e17cdde2a567a4b8d4 /etc/rc | |
parent | eb72363ad1a71c7c1fc185faa9a1372e257aa0e6 (diff) |
bail YP if no domainname; dima@unixfreak.org
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.173 2001/06/12 06:36:03 fgsch Exp $ +# $OpenBSD: rc,v 1.174 2001/06/22 14:46:42 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -206,7 +206,7 @@ if [ X"${portmap}" = X"YES" ]; then echo -n ' portmap'; portmap fi -if [ -d /var/yp/binding ]; then +if [ -d /var/yp/binding -a X`domainname` != X ]; then if [ -d /var/yp/`domainname` ]; then # yp server capabilities needed... echo -n ' ypserv'; ypserv ${ypserv_flags} |