summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/files/rhctl.config
blob: 7df02397510a0ddd082e276e5dd8894cba779aa5 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
config 'global'
  option ftdi_serial 'FTVSOXJP'
#  option ftdi_serial 'FTVRIHVY'

config 'switchctl'
  option log 'syslog:3,switchctl,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option baudrate '19200'
  option device '/dev/ttyS1'
  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/ttyMasterCtl'
  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/ttyStandbyCtl'
  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/ttyMasterHB'
  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 'health-watch'
  option log 'syslog:3,luaclient-health-watch,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option lua_file '/usr/share/rhctl/health-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'

config 'luaclient'
#  option disabled 1
  option name 'mode-tcpserver'
  option log 'syslog:3,luaclient-mode-tcpserver,daemon'
  option command_sock '/var/run/rhctl/switchctl.sock'
  option lua_file '/usr/share/rhctl/mode-tcpserver.lua'