summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2002-08-14 05:44:32 +0000
committergordon <gordon@FreeBSD.org>2002-08-14 05:44:32 +0000
commit008b9b25ad2ce5dc5898051a4b7473c537da8d1b (patch)
tree74908b5b57031bedcbdeb25a3f0895ecc0a0e4b5 /etc/rc.network
parent2f904c0a96257516a43311cdac6551876ee3c559 (diff)
downloadFreeBSD-src-008b9b25ad2ce5dc5898051a4b7473c537da8d1b.zip
FreeBSD-src-008b9b25ad2ce5dc5898051a4b7473c537da8d1b.tar.gz
Clean up the scripts to use the new variables:
xntpd_* -> ntpd_* portmap_* -> rpcbind_* Also change single_mountd_enable -> mountd_enable Changing the mountd flags brings us closer to NetBSD. All of the old variable names are shimmed so you can continue to use the old variable name. Finally make /etc/rc.d/mountd no longer dependent on nfs as there are (apparently) other consumers of mountd. Submitted by: Mike Makonnen <makonnen@pacbell.net>
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network12
1 files changed, 6 insertions, 6 deletions
diff --git a/etc/rc.network b/etc/rc.network
index febaf83..95f92a4 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -561,9 +561,9 @@ network_pass2() {
;;
esac
- case ${xntpd_enable} in
+ case ${ntpd_enable} in
[Yy][Ee][Ss])
- echo -n ' ntpd'; ${xntpd_program:-ntpd} ${xntpd_flags}
+ echo -n ' ntpd'; ${ntpd_program:-ntpd} ${ntpd_flags}
;;
esac
@@ -573,10 +573,10 @@ network_pass2() {
;;
esac
- case ${portmap_enable} in
+ case ${rpcbind_enable} in
[Yy][Ee][Ss])
- echo -n ' rpcbind'; ${portmap_program:-/usr/sbin/rpcbind} \
- ${portmap_flags}
+ echo -n ' rpcbind'; ${rpcbind_program:-/usr/sbin/rpcbind} \
+ ${rpcbind_flags}
# Start ypserv if we're an NIS server.
# Run rpc.ypxfrd and rpc.yppasswdd only on the NIS master server.
@@ -645,7 +645,7 @@ network_pass2() {
network_pass3() {
echo -n 'Starting final network daemons:'
- case ${portmap_enable} in
+ case ${rpcbind_enable} in
[Yy][Ee][Ss])
case ${nfs_server_enable} in
[Yy][Ee][Ss])
OpenPOWER on IntegriCloud