]>
git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/initscripts/init.d/asterisk
2 ########################################################################
3 # Begin $rc_base/init.d/asterisk
5 # Description : Asterisk Script
7 # Authors : Michael Tremer (mitch@ipfire.org)
13 ########################################################################
20 boot_mesg
"Starting Asterisk PBX..."
21 loadproc
/usr
/sbin
/asterisk
25 boot_mesg
"Stopping Asterisk PBX..."
26 asterisk
-rx "stop gracefully" >/dev
/null
2>&1
31 boot_mesg
"Reloading Asterisk PBX..."
32 asterisk
-rx "reload" >/dev
/null
2>&1
43 statusproc
/usr
/sbin
/asterisk
47 echo "Usage: ${0} {start|stop|reload|restart|status}"
52 # End $rc_base/init.d/asterisk