diff options
Diffstat (limited to 'openwrt/dolmetsch-ctl/files/dolmetschctl.init')
-rwxr-xr-x | openwrt/dolmetsch-ctl/files/dolmetschctl.init | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/dolmetsch-ctl/files/dolmetschctl.init b/openwrt/dolmetsch-ctl/files/dolmetschctl.init new file mode 100755 index 0000000..7a2bfc9 --- /dev/null +++ b/openwrt/dolmetsch-ctl/files/dolmetschctl.init @@ -0,0 +1,14 @@ +#!/bin/sh /etc/rc.common + +USE_PROCD=1 + +PROG=/usr/bin/dolmetschctl + +start_service() { + procd_open_instance + procd_set_param command $PROG -x qu24 -d hw:0,0,0 -o 1234 + procd_set_param respawn + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance +} |