summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.d/mountd3
-rwxr-xr-xetc/rc.d/nfsd3
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=
;;
OpenPOWER on IntegriCloud