summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/files/rhctl.config
blob: 79f5ce3c33d306c09cf311727505c1fffb69831e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
config 'switchctl'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '19200'
  option device '/dev/audioswatch'
  option config '/etc/rhctl/switchctl.conf'
  option mode 'master'
  option channel 'main'

config 'serialclient'
#  option disabled 1
  option name 'master'
  option log 'syslog:3,serialclient-master,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '38400'
  option device '/dev/ttyUSB0'
  option type 'master'

config 'serialclient'
#  option disabled 1
  option name 'standby'
  option log 'syslog:3,serialclient-standby,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '38400'
  option device '/dev/ttyUSB1'
  option type 'standby'