summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/ypxfrd
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/ypxfrd')
-rw-r--r--etc/rc.d/ypxfrd4
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"
OpenPOWER on IntegriCloud