diff options
Diffstat (limited to 'net/openslp/files/slpd.sh.sample')
-rw-r--r-- | net/openslp/files/slpd.sh.sample | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/openslp/files/slpd.sh.sample b/net/openslp/files/slpd.sh.sample index 005d18921a5d..4fe3d0826913 100644 --- a/net/openslp/files/slpd.sh.sample +++ b/net/openslp/files/slpd.sh.sample @@ -11,6 +11,9 @@ # slpd_enable="YES" # +slpd_enable=${slpd_enable-"NO"} +slpd_flags=${slpd_flags-"-p /var/run/slpd.pid"} + . %%RC_SUBR%% name=slpd @@ -19,8 +22,5 @@ rcvar=`set_rcvar` command=%%PREFIX%%/sbin/slpd pidfile="/var/run/${name}.pid" -[ -z "$slpd_enable" ] && slpd_enable="NO" -[ -z "$slpd_flags" ] && slpd_flags="-p /var/run/slpd.pid" - load_rc_config ${name} run_rc_command "$1" |