diff options
Diffstat (limited to 'extra/dahdi-tools/dahdi-tools.initd')
-rw-r--r-- | extra/dahdi-tools/dahdi-tools.initd | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/dahdi-tools/dahdi-tools.initd b/extra/dahdi-tools/dahdi-tools.initd new file mode 100644 index 000000000..ccdace428 --- /dev/null +++ b/extra/dahdi-tools/dahdi-tools.initd @@ -0,0 +1,15 @@ +#!/sbin/runscript + +conf=/etc/dahdi/system.conf + +start() { + ebegin "Starting dahdi" + /usr/sbin/dahdi_cfg + eend $? +} + +stop() { + ebegin "Stopping dahdi" + /usr/sbin/dahdi_cfg -s + eend $? +} |