Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Start automount daemon even if NFS client is not activat...
details: https://anonhg.NetBSD.org/src/rev/cbad972f2f1d
branches: trunk
changeset: 480761:cbad972f2f1d
user: tron <tron%NetBSD.org@localhost>
date: Wed Jan 19 12:00:49 2000 +0000
description:
Start automount daemon even if NFS client is not activated. This makes
sense for system where "amd" is used to mount local devices like e.g.
CD-ROM drives. Fixes PR misc/9126 by Bjoern Labitzke.
diffstat:
etc/rc | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 18ea1645ef53 -r cbad972f2f1d etc/rc
--- a/etc/rc Wed Jan 19 09:44:01 2000 +0000
+++ b/etc/rc Wed Jan 19 12:00:49 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc,v 1.143 2000/01/19 03:52:12 enami Exp $
+# $NetBSD: rc,v 1.144 2000/01/19 12:00:49 tron Exp $
# originally from: @(#)rc 8.2 (Berkeley) 3/17/94
# System startup script run by init on autoboot
@@ -315,13 +315,14 @@
mount -a
# now start the rpc servers, for NFS server/client.
-if checkyesno nfs_client || checkyesno nfs_server; then
+if checkyesno nfs_client || checkyesno nfs_client || checkyesno amd; then
echo -n 'starting nfs daemons:'
- if checkyesno nfs_server && ! checkyesno portmap; then
+ if (checkyesno nfs_server || checkyesno amd) && \
+ ! checkyesno portmap; then
echo
logger -s "WARNING: set portmap=YES in /etc/rc.conf" \
- "if nfs_server=YES."
+ "if nfs_server=YES or amd=YES."
fi
nfs_locking=NO
Home |
Main Index |
Thread Index |
Old Index