From: Jo-Philipp Wich Date: Tue, 23 Sep 2008 17:29:05 +0000 (+0000) Subject: * luci-0.8: backport multiple httpd instance enhancement X-Git-Tag: 0.8.0~43 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c9bbacbbcc64981a93a5ee90bd118e84fab48af5;p=project%2Fluci.git * luci-0.8: backport multiple httpd instance enhancement --- 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 44beb9c9ef..64a0801993 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