aboutsummaryrefslogblamecommitdiffstats
path: root/main/dahdi-tools/dahdi-tools.initd
blob: 42092c7375b1472b4b92d696e9ad82c32b23a8ac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  


                           





                               










                               
#!/sbin/openrc-run

conf=/etc/dahdi/system.conf

depend() {
	before asterisk
	after hwdrivers modules
	keyword novserver
}

start() {
	ebegin "Starting dahdi"
	/usr/sbin/dahdi_cfg
	eend $?
}

stop() {
	ebegin "Stopping dahdi"
	/usr/sbin/dahdi_cfg -s
	eend $?
}