summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/root/lib/uci/schema/default/httpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-30 03:46:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-30 03:46:55 +0000
commitd564e036b3524e07e48d3b9a82d02cc66c7da989 (patch)
tree590f5a18a0241a47c03b92d8e620cf341ce980e5 /libs/uvl/root/lib/uci/schema/default/httpd
parent449d8e46e956272e14d75bf2458a6c945bef75f5 (diff)
* luci/libs: uvl: first round of uci schemes
Diffstat (limited to 'libs/uvl/root/lib/uci/schema/default/httpd')
-rw-r--r--libs/uvl/root/lib/uci/schema/default/httpd22
1 files changed, 22 insertions, 0 deletions
diff --git a/libs/uvl/root/lib/uci/schema/default/httpd b/libs/uvl/root/lib/uci/schema/default/httpd
new file mode 100644
index 0000000000..5f8d979a3d
--- /dev/null
+++ b/libs/uvl/root/lib/uci/schema/default/httpd
@@ -0,0 +1,22 @@
+package httpd
+
+config section
+ option name 'httpd'
+ option title 'General httpd settings'
+ option package 'httpd'
+ option unique true
+ option required true
+
+config variable
+ option name 'home'
+ option title 'Docroot directory'
+ option section 'httpd.httpd'
+ option datatype 'directory'
+ option required true
+
+config variable
+ option name 'port'
+ option title 'Listening port'
+ option section 'httpd.httpd'
+ option datatype 'integer'
+ option required true