summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-07 02:55:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-07 02:55:42 +0000
commit885e54007fdaaaa8d4972e904685c6a0ff609e50 (patch)
tree976cff2b155d84860abbe69a5a5557087395d9c6 /libs/uvl/root/lib
parent98ff081c9f67d876349a56a1b75e1fae51bc15e2 (diff)
* luci/libs/uvl: implement default value option for variable sections
Diffstat (limited to 'libs/uvl/root/lib')
-rw-r--r--libs/uvl/root/lib/uci/schema/meta/schema9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/meta/schema b/libs/uvl/root/lib/uci/schema/meta/schema
index dd373f8ae..7f6981a02 100644
--- a/libs/uvl/root/lib/uci/schema/meta/schema
+++ b/libs/uvl/root/lib/uci/schema/meta/schema
@@ -267,6 +267,15 @@ config variable
option datatype 'string'
option required false
+# Variable default value (schema.@variable.default)
+config variable
+ option name 'default'
+ option title 'Datatype of this variable'
+ option section 'schema.variable'
+ option type 'variable'
+ option datatype 'string'
+ option required false
+
# Variable validators (schema.@variable.validator)
config variable
option name 'validator'