diff options
author | phk <phk@FreeBSD.org> | 1994-09-15 02:21:39 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-09-15 02:21:39 +0000 |
commit | 7d9611717fe8255d11f5524cacd568065b4af359 (patch) | |
tree | d433f37dfc06c11cba698e3c44037ead11db037c /etc | |
parent | f82deafeb9f89d0d6c55b31251f0b7300c2c2ad6 (diff) | |
download | FreeBSD-src-7d9611717fe8255d11f5524cacd568065b4af359.zip FreeBSD-src-7d9611717fe8255d11f5524cacd568065b4af359.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |