summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-07-20 16:26:26 +0000
committerwollman <wollman@FreeBSD.org>1995-07-20 16:26:26 +0000
commit7d4b8f84f03a0bd7e297a7ccd10de07c0eaf8ffb (patch)
tree8ac116862309c5395da3e2aa375bb31c24b8566b /etc/rc
parent5b689f15e465a18ad703ae47bdf9fed2c9808810 (diff)
downloadFreeBSD-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/rc')
-rw-r--r--etc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index b7bf3d3..1e67753 100644
--- a/etc/rc
+++ b/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;
OpenPOWER on IntegriCloud