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/rc.local | |
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/rc.local')
-rw-r--r-- | etc/rc.local | 10 |
1 files changed, 5 insertions, 5 deletions
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 |