summaryrefslogtreecommitdiffstats
path: root/main/dahdi-tools/dahdi-tools.initd
blob: 42092c7375b1472b4b92d696e9ad82c32b23a8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 $?
}