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