diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-02-08 16:42:12 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-02-08 16:42:12 +0000 |
commit | e44dd23d15aa09b58b615415b2ab3f5bca1cd941 (patch) | |
tree | 0982b5424bac7f970824fac607c36ea278bb48af /etc | |
parent | 3e142d3ad3771ea3aec7bd870146200651b8f506 (diff) | |
download | FreeBSD-src-e44dd23d15aa09b58b615415b2ab3f5bca1cd941.zip FreeBSD-src-e44dd23d15aa09b58b615415b2ab3f5bca1cd941.tar.gz |
Small NIS fixes:
1) ypserv is started with nis_serverflags, not yppasswddflags (that's what
I get for cutting & pasting without paying attention).
2) ypbind can also be started with arguments, so turn nis_client to
nis_clientflags.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/netstart | 4 | ||||
-rw-r--r-- | etc/rc.local | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/etc/netstart b/etc/netstart index 9c84340..59b9441 100755 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $Id: netstart,v 1.18 1995/02/03 23:54:07 wpaul Exp $ +# $Id: netstart,v 1.19 1995/02/07 20:52:35 ats Exp $ # From: @(#)netstart 5.9 (Berkeley) 3/30/91 defaultrouter=NO @@ -13,7 +13,7 @@ sendmail_flags="-bd -q30m" amdflags="NO" nfs_client=NO nfs_server=NO -nis_client="NO" +nis_clientflags="NO" nis_serverflags="NO" yppasswddflags="NO" #yppasswddflags"-m /var/yp/master.passwd -s -f" diff --git a/etc/rc.local b/etc/rc.local index c4f7926..74ad93a 100644 --- a/etc/rc.local +++ b/etc/rc.local @@ -23,9 +23,9 @@ if [ X"${kerberos_server}" = X"YES" ]; then fi fi -# Start if we're an NIS server. +# Start ypserv if we're an NIS server. if [ X"${nis_serverflags}" != X"NO" ]; then - echo -n ' ypserv'; ypserv $nis_yppasswddflags + echo -n ' ypserv'; ypserv $nis_serverflags fi # Run yppasswdd only on the NIS master server @@ -33,9 +33,9 @@ if [ X"${yppasswddflags}" != X"NO" ]; then echo -n ' yppasswdd'; yppasswdd $yppasswddflags fi -# Run ypbind if we're an NIS client -if [ X"${nis_client}" = X"YES" ]; then - echo -n ' ypbind'; ypbind +# Start ypbind if we're an NIS client +if [ X"${nis_clientflags}" != X"NO" ]; then + echo -n ' ypbind'; ypbind $nis_clientflags fi # For loading fonts/keyboard example look in /usr/share/examples/syscons |