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.
This commit is contained in:
parent
4a0834a5a2
commit
2555651f72
5
etc/rc
5
etc/rc
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user