applications/luci-splash: don't allow removing common settings...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:20:09 +0000 (02:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 25 Nov 2009 02:20:09 +0000 (02:20 +0000)
applications/luci-splash/luasrc/model/cbi/splash/splash.lua

index e9d000f..145b16d 100644 (file)
@@ -4,6 +4,8 @@ require("luci.model.uci")
 m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot-Authentifizierungs-System.]])
 
 s = m:section(NamedSection, "general", "core", "Allgemein")
+s.addremove = false
+
 s:option(Value, "leasetime", "Freigabezeit", "h")
 
 s:option(Value, "limit_up", "Upload-Limitierung", "Kilobyte/s - limitiert die Upload-Geschwindigkeit von Clients")