6ce96e573acc42e02178a0856cd2feb830b252f5
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / system
1 package system
2
3 config package
4 option title 'System configuration'
5
6 config section
7 option name 'system'
8 option title 'General system configuration'
9 option package 'system'
10 option unique true
11 option required true
12
13 config variable
14 option name 'hostname'
15 option title 'Local hostname'
16 option section 'system.system'
17 option datatype 'hostname'
18 option required true
19
20 config variable
21 option name 'timezone'
22 option title 'Option timezone'
23 option section 'system.system'
24 option required true
25
26 config variable
27 option name 'log_size'
28 option section 'system.system'
29 option title 'System log buffer size (kiB)'
30 option datatype uint
31
32 config variable
33 option name 'log_ip'
34 option section 'system.system'
35 option title 'External system log server'
36 option datatype ipaddr
37
38 config variable
39 option name 'conloglevel'
40 option section 'system.system'
41 option title 'Log output level'
42 option description 'Level of log messages on the console'
43 option datatype integer
44
45 config section
46 option name 'led'
47 option package 'system'
48 option title 'LED Configuration'
49
50 config variable
51 option name 'name'
52 option section 'system.led'
53 option title 'LED Name'
54 option required true
55
56 config variable
57 option name 'sysfs'
58 option section 'system.led'
59 option title 'LED Device'
60 option required true
61
62 config variable
63 option name 'default'
64 option section 'system.led'
65 option title 'Default state'
66 option datatype boolean
67
68 config variable
69 option name 'trigger'
70 option section 'system.led'
71 option title 'Trigger'
72 option required true
73
74 config variable
75 option name 'delayon'
76 option section 'system.led'
77 option title 'On-State Delay'
78 option description 'Time (in ms) the LED is on'
79 list depends 'trigger=timer'
80
81 config variable
82 option name 'delayoff'
83 option section 'system.led'
84 option title 'Off-State Delay'
85 option description 'Time (in ms) the LED is off'
86 list depends 'trigger=timer'
87
88 config variable
89 option name 'dev'
90 option section 'system.led'
91 option title 'Device'
92 list depends 'trigger=netdev'
93
94 config variable
95 option name 'mode'
96 option section 'system.led'
97 option title 'Trigger Mode'
98 list depends 'trigger=netdev'