summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/yppasswdd
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/yppasswdd
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/yppasswdd')
-rwxr-xr-xetc/rc.d/yppasswdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/yppasswdd b/etc/rc.d/yppasswdd
index 13928f3..d272d98 100755
--- a/etc/rc.d/yppasswdd
+++ b/etc/rc.d/yppasswdd
@@ -15,7 +15,7 @@ name="yppasswdd"
command="/usr/sbin/rpc.{name}"
start_precmd="yppasswdd_precmd"
-case `${CMD_OSTYPE}` in
+case ${OSTYPE} in
FreeBSD)
rcvar="nis_yppasswdd_enable"
command_args="${nis_yppasswdd_flags}"
@@ -28,7 +28,7 @@ esac
yppasswdd_precmd()
{
- case `${CMD_OSTYPE}` in
+ case ${OSTYPE} in
FreeBSD)
if ! checkyesno rpcbind_enable && \
! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
OpenPOWER on IntegriCloud