summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/yppasswdd
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-01-24 00:37:52 +0000
committermtm <mtm@FreeBSD.org>2003-01-24 00:37:52 +0000
commit8a55a31618aea1ffbd4a75915958fdcb772c3236 (patch)
tree1b6308eea7ce20e24d5856f2d1321163219be981 /etc/rc.d/yppasswdd
parentdee3b611a1261c54189e3923882d17b9752260b3 (diff)
downloadFreeBSD-src-8a55a31618aea1ffbd4a75915958fdcb772c3236.zip
FreeBSD-src-8a55a31618aea1ffbd4a75915958fdcb772c3236.tar.gz
Cleanup as many instances of rc.conf variable use before
calling load_rc_config(). Approved by: markm (mentor) dougb
Diffstat (limited to 'etc/rc.d/yppasswdd')
-rwxr-xr-xetc/rc.d/yppasswdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/yppasswdd b/etc/rc.d/yppasswdd
index c2d34b8..0891f10 100755
--- a/etc/rc.d/yppasswdd
+++ b/etc/rc.d/yppasswdd
@@ -15,6 +15,7 @@ name="yppasswdd"
command="/usr/sbin/rpc.${name}"
start_precmd="yppasswdd_precmd"
+load_rc_config $name
case ${OSTYPE} in
FreeBSD)
rcvar="nis_yppasswdd_enable"
@@ -50,5 +51,4 @@ yppasswdd_precmd()
fi
}
-load_rc_config $name
run_rc_command "$1"
OpenPOWER on IntegriCloud