aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk14/files/asterisk.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk14/files/asterisk.sh.in')
-rw-r--r--net/asterisk14/files/asterisk.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in
index 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk14/files/asterisk.sh.in
+++ b/net/asterisk14/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"