blob: 1ca5a58aea734356a1bed481a35b19d46e93d677 (
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
35
36
37
38
39
40
41
|
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'
config 'luaclient'
# option disabled 1
option name 'mode-watch'
option log 'syslog:3,luaclient-mode-watch,daemon'
option command_sock '/var/run/rhctl/switchctl.sock'
option lua_file '/usr/share/rhctl/mode-watch.lua'
|