diff options
author | wollman <wollman@FreeBSD.org> | 1995-07-20 16:26:26 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-07-20 16:26:26 +0000 |
commit | 7d4b8f84f03a0bd7e297a7ccd10de07c0eaf8ffb (patch) | |
tree | 8ac116862309c5395da3e2aa375bb31c24b8566b /etc | |
parent | 5b689f15e465a18ad703ae47bdf9fed2c9808810 (diff) | |
download | FreeBSD-src-7d4b8f84f03a0bd7e297a7ccd10de07c0eaf8ffb.zip FreeBSD-src-7d4b8f84f03a0bd7e297a7ccd10de07c0eaf8ffb.tar.gz |
Not sure if Rod is still working in these or not, so here goes.
Add nis_ypsetflags sysconfig entry and appropriate code in rc to call
ypset if needed. Should probably automatically add `-ypsetme' to ypbind
flags if this is set.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 5 | ||||
-rw-r--r-- | etc/sysconfig | 5 |
2 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,5 @@ #!/bin/sh -# $Id: rc,v 1.66 1995/05/15 19:50:59 rgrimes Exp $ +# $Id: rc,v 1.67 1995/06/25 04:01:32 bde Exp $ # From: @(#)rc 5.27 (Berkeley) 6/5/91 # System startup script run by init on autoboot @@ -197,6 +197,9 @@ fi # Start ypbind if we're an NIS client if [ "X${nis_clientflags}" != X"NO" ]; then echo -n ' ypbind'; ypbind ${nis_clientflags} + if [ "X${nis_ypsetflags}" != X"NO" ]; then + echo -n ' ypset'; ypset ${nis_ypsetflags} + fi fi # $rwhod is imported from /etc/sysconfig; diff --git a/etc/sysconfig b/etc/sysconfig index 62abb80..c900d4f 100644 --- a/etc/sysconfig +++ b/etc/sysconfig @@ -4,7 +4,7 @@ # This is sysconfig - a file full of useful variables that you can set # to change the default startup behavior of your system. # -# $Id: sysconfig,v 1.16 1995/06/25 04:01:32 bde Exp $ +# $Id: sysconfig,v 1.17 1995/07/05 04:12:33 peter Exp $ ######################### Start Of Syscons Section ####################### @@ -128,6 +128,9 @@ nfs_server=NO # Set to appropriate flags if you want to start NIS for a client nis_clientflags="NO" +# Set to host to ypset to if you need to do that +nis_ypsetflags="NO" + # Set to appropriate flags if you want to start NIS for a server nis_serverflags="NO" |