summaryrefslogtreecommitdiffstats
path: root/main/dahdi-tools/dahdi-tools.initd
blob: 5e99122a5a7f4537f0035741394c3f3bc3dc3d75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/runscript

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 $?
}