summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-23 17:27:39 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-23 17:27:39 +0000
commit70de30251b1db8a80db9024fc62c8c550c3c18dd (patch)
tree05cfb11979e30342b0d89447aef2d10def64c4f8 /modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua
parentd7f7a5b0d7e2c86c85ea67a5929033dc54dfd83e (diff)
* luci/modules/admin-full: allow multiple httpd sections (instances)
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua b/modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua
index 44beb9c9e..64a080199 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua
@@ -15,6 +15,7 @@ m = Map("httpd", "Busybox HTTPd", translate("a_srv_http1"))
s = m:section(TypedSection, "httpd", "")
s.anonymous = true
+s.addremove = true
port = s:option(Value, "port", translate("port"))
port.isinteger = true
@@ -27,4 +28,4 @@ config.rmempty = true
realm = s:option(Value, "realm", translate("a_srv_http_authrealm"), translate("a_srv_http_authrealm1"))
realm.rmempty = true
-return m \ No newline at end of file
+return m