* luci-0.8: backport multiple httpd instance enhancement
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Sep 2008 17:29:05 +0000 (17:29 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Sep 2008 17:29:05 +0000 (17:29 +0000)
modules/admin-full/luasrc/model/cbi/admin_services/httpd.lua

index 44beb9c9efdfc34a1ef7389994be547e554e5c3e..64a08019931cb3599f295ef1a24659b4c34a64f2 100644 (file)
@@ -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