nfsiod should be started if this is a NFS-client, not if it is a server.
look for "nfs" in etc/fstab, and start it if we see it. Not quite perfect, but better. mount_nfs should start it, if it isn't running.
This commit is contained in:
parent
66e5de4524
commit
b063221c8c
5
etc/rc
5
etc/rc
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: rc,v 1.27 1994/06/06 17:45:37 phk Exp $
|
||||
# $Id: rc,v 1.28 1994/08/21 04:28:44 davidg Exp $
|
||||
# From: @(#)rc 5.27 (Berkeley) 6/5/91
|
||||
|
||||
# System startup script run by init on autoboot
|
||||
@ -203,6 +203,9 @@ echo -n ' printer'; lpd
|
||||
if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then
|
||||
echo -n ' mountd'; mountd
|
||||
echo -n ' nfsd'; nfsd -u -t 4
|
||||
fi
|
||||
|
||||
if grep nfs /etc/fstab > /dev/null ; then
|
||||
echo -n ' nfsiod'; nfsiod -n 4
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user