summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib/uci/schema/default/system
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-11 21:45:23 +0000
committerSteven Barth <steven@midlink.org>2008-09-11 21:45:23 +0000
commit55cf7dbf347a9b48e911b1b4d47997aa513f5d7b (patch)
treec8c1f9239863ea6717163959cd33281dfef90435 /libs/uvl/root/lib/uci/schema/default/system
parentd25d58bb4af9696ca6f9c16a36791bb072bfc891 (diff)
Reworked UVL schemes
Diffstat (limited to 'libs/uvl/root/lib/uci/schema/default/system')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/system77
1 files changed, 77 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/system b/libs/uvl/root/lib/uci/schema/default/system
index 1de2144f1e..6ce96e573a 100644
--- a/libs/uvl/root/lib/uci/schema/default/system
+++ b/libs/uvl/root/lib/uci/schema/default/system
@@ -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'