summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/nfsd
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2002-09-06 16:18:05 +0000
committergordon <gordon@FreeBSD.org>2002-09-06 16:18:05 +0000
commita7f04bb2b79fce3619508825b96c5564b044a9cf (patch)
tree5bf37a1aebd8c46b4ce8523e594efce97ad8ee38 /etc/rc.d/nfsd
parent390d72be15b0b886ecec8a4ce9879fadaa97f9a9 (diff)
downloadFreeBSD-src-a7f04bb2b79fce3619508825b96c5564b044a9cf.zip
FreeBSD-src-a7f04bb2b79fce3619508825b96c5564b044a9cf.tar.gz
Convert from `${CMD_OSTYPE}` to ${OSTYPE}. This saves a shell invocation on
OS-dependent case switches.
Diffstat (limited to 'etc/rc.d/nfsd')
-rwxr-xr-xetc/rc.d/nfsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd
index 206f44d..547db33 100755
--- a/etc/rc.d/nfsd
+++ b/etc/rc.d/nfsd
@@ -14,7 +14,7 @@ name="nfsd"
rcvar=`set_rcvar nfs_server`
command="/usr/sbin/${name}"
-case `${CMD_OSTYPE}` in
+case ${OSTYPE} in
FreeBSD)
command_args="${nfs_server_flags}"
start_precmd="nfsd_precmd"
OpenPOWER on IntegriCloud