summaryrefslogtreecommitdiff
path: root/openwrt/dolmetsch-ctl/files/dolmetschctl.init
blob: 8b4b365d4c94dd2ff3aa4bf58fc231382d7c928c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh /etc/rc.common
START=99
STOP=1

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
}