-
Using ppp startup
I use a startup and hangup scripts both of which call the appropriate ppp activity.
I want to shut down NFS and RPC when on the web so added a couple of lines.
sh /etc/rc.d/rc.nfsd stop and sh /etc/rc.d/rc.rpc stop when I start the modem
That seems to go OK, but when I use:
sh /etc/rc.d/rc.rpc start and sh /etc/rc.d/rc.nfsd start (order is manditory), I get:
mount: nfsd already mounted or /proc/fs/nfs busy
mount: according to mtab, nfsd is already mounted on /proc/fs/nfs
Starting NFSserver daemons:
/use/sbin/exports -r
/usr/sbin/rpc.nfsd 8
/usr/sbin/rpc.mountd
My man page does not have a "-r" for exports. What does it mean?
Did I not get NFS stopped?
Why does /proc/fs/nfs apparently continue to run?
or
Did I stop NFS and the commands automatically try to remount?
A little help please?
-
The approach of /etc/rc.d/rc.nfsd stop is correct and does work when the line is spelled correctly -- too much to do too little sleep