From 6a6fb8b86ab556d4ce74780f4f53e79aedce96bb Mon Sep 17 00:00:00 2001 From: gordon Date: Sun, 7 Jul 2002 22:19:08 +0000 Subject: 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) --- etc/rc.d/mountd | 3 +-- etc/rc.d/nfsd | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'etc') 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= ;; -- cgit v1.1