summaryrefslogtreecommitdiff
path: root/openwrt/dolmetsch-ctl/files/dolmetschctl.init
blob: 7a2bfc99e12ccc2d96f88b3ae6bb2ef4cbfee98b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}