blob: cf259907ef7c5a1cf837517fcd2365d696de1483 (
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
42
43
44
45
46
47
48
|
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 '25'
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'
config 'luaclient'
# option disabled 1
option name 'silence-watch'
option log 'syslog:3,luaclient-silence-watch,daemon'
option command_sock '/var/run/rhctl/switchctl.sock'
option lua_file '/usr/share/rhctl/silence-watch.lua'
|