diff options
author | gordon <gordon@FreeBSD.org> | 2002-07-07 22:19:08 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2002-07-07 22:19:08 +0000 |
commit | 6a6fb8b86ab556d4ce74780f4f53e79aedce96bb (patch) | |
tree | e3ed2e94c1a23beefcfed63a43aa65b6ce627b5b /etc | |
parent | 61a367a10729c39537e8ff3420c80e40e8670c3f (diff) | |
download | FreeBSD-src-6a6fb8b86ab556d4ce74780f4f53e79aedce96bb.zip FreeBSD-src-6a6fb8b86ab556d4ce74780f4f53e79aedce96bb.tar.gz |
nfsd and mountd now live in /usr/sbin not /sbin. Correct the command args.
This also reduces the diff to NetBSD (very marginally).
Reviewed by: jake (mentor)
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.d/mountd | 3 | ||||
-rwxr-xr-x | etc/rc.d/nfsd | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/etc/rc.d/mountd b/etc/rc.d/mountd index 0e56995..6f0fe86 100755 --- a/etc/rc.d/mountd +++ b/etc/rc.d/mountd @@ -11,6 +11,7 @@ . /etc/rc.subr name="mountd" +command="/usr/sbin/${name}" required_files="/etc/exports" start_precmd="mountd_precmd" extra_commands="reload" @@ -18,11 +19,9 @@ extra_commands="reload" case `${CMD_OSTYPE}` in FreeBSD) rcvar=`set_rcvar nfs_server` - command="/sbin/${name}" ;; NetBSD) rcvar=`set_rcvar` - command="/usr/sbin/${name}" ;; esac diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd index df96720..cf946ff 100755 --- a/etc/rc.d/nfsd +++ b/etc/rc.d/nfsd @@ -12,16 +12,15 @@ name="nfsd" rcvar=`set_rcvar nfs_server` +command="/usr/sbin/${name}" case `${CMD_OSTYPE}` in FreeBSD) - command="/sbin/nfsd" command_args="${nfs_server_flags}" required_vars="portmap_enable" start_precmd="nfsd_precmd" ;; NetBSD) - command="/usr/sbin/${name}" required_vars="mountd rpcbind" start_precmd= ;; |