summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/files/rhctl.config
blob: 2e4f17674fda3e9e64f8d26bbda49294990e25f9 (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
26
27
28
29
30
31
32
33
34
config 'switchctl'
  option log 'syslog:3,switchctl,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '19200'
  option device '/dev/audioswitch'
  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/ttyMaster'
  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/ttyStandby'
  option type 'standby'

config 'heartbeatclient'
  option log 'syslog:3,heartbeatclient,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '38400'
  option device '/dev/ttyHeartbeat'
  option timeout '15'
  option led 'heartbeat'