Reworked UVL schemes
[project/luci.git] / libs / uvl / root / lib / uci / schema / default / system
index 1de2144f1ee4bd04474fc50f33ae943b8abd4513..6ce96e573acc42e02178a0856cd2feb830b252f5 100644 (file)
@@ -1,5 +1,8 @@
 package system
 
+config package
+       option title 'System configuration'
+
 config section
        option name     'system'
        option title    'General system configuration'
@@ -19,3 +22,77 @@ config variable
        option title    'Option timezone'
        option section  'system.system'
        option required true
+
+config variable
+        option name 'log_size'
+        option section 'system.system'
+        option title 'System log buffer size (kiB)'
+       option datatype uint
+
+config variable
+        option name 'log_ip'
+        option section 'system.system'
+        option title 'External system log server'
+       option datatype ipaddr
+
+config variable
+        option name 'conloglevel'
+        option section 'system.system'
+        option title 'Log output level'
+        option description 'Level of log messages on the console'
+       option datatype integer
+
+config section
+       option name 'led'
+       option package 'system'
+       option title 'LED Configuration'
+
+config variable
+       option name 'name'
+       option section 'system.led'
+       option title 'LED Name'
+       option required true
+
+config variable
+       option name 'sysfs'
+       option section 'system.led'
+       option title 'LED Device'
+       option required true
+
+config variable
+       option name 'default'
+       option section 'system.led'
+       option title 'Default state'
+       option datatype boolean
+
+config variable
+       option name 'trigger'
+       option section 'system.led'
+       option title 'Trigger'
+       option required true
+
+config variable
+       option name 'delayon'
+       option section 'system.led'
+       option title 'On-State Delay'
+       option description 'Time (in ms) the LED is on'
+       list depends 'trigger=timer'
+
+config variable
+       option name 'delayoff'
+       option section 'system.led'
+       option title 'Off-State Delay'
+       option description 'Time (in ms) the LED is off'
+       list depends 'trigger=timer'
+
+config variable
+       option name 'dev'
+       option section 'system.led'
+       option title 'Device'
+       list depends 'trigger=netdev'
+
+config variable
+       option name 'mode'
+       option section 'system.led'
+       option title 'Trigger Mode'
+       list depends 'trigger=netdev'