diff options
author | mtm <mtm@FreeBSD.org> | 2003-01-24 00:37:52 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-01-24 00:37:52 +0000 |
commit | 8a55a31618aea1ffbd4a75915958fdcb772c3236 (patch) | |
tree | 1b6308eea7ce20e24d5856f2d1321163219be981 /etc/rc.d/ypxfrd | |
parent | dee3b611a1261c54189e3923882d17b9752260b3 (diff) | |
download | FreeBSD-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/ypxfrd')
-rw-r--r-- | etc/rc.d/ypxfrd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/ypxfrd b/etc/rc.d/ypxfrd index bfb3b16..eeb5a82 100644 --- a/etc/rc.d/ypxfrd +++ b/etc/rc.d/ypxfrd @@ -12,8 +12,9 @@ name="ypxfrd" rcvar="nis_ypxfrd_enable" command="/usr/sbin/rpc.${name}" -command_args="${nis_ypxfrd_flags}" start_precmd="ypxfrd_precmd" +load_rc_config $name +command_args="${nis_ypxfrd_flags}" ypxfrd_precmd() { @@ -35,5 +36,4 @@ ypxfrd_precmd() fi } -load_rc_config $name run_rc_command "$1" |