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/rc.d/mountd | |
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/rc.d/mountd')
-rwxr-xr-x | etc/rc.d/mountd | 3 |
1 files changed, 1 insertions, 2 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 |