applications/luci-splash: we don't need to know down_burst in luci-splash cli
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:34:52 +0000 (12:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:34:52 +0000 (12:34 +0000)
applications/luci-splash/root/usr/sbin/luci-splash

index c737f2f5fbbf34e1def744b1c9e4fd75590df6ca..244adc9d88c919910f9b575ce826127660955095 100755 (executable)
@@ -11,7 +11,6 @@ local ipt = luci.sys.iptparser.IptParser()
 local splash_interfaces = { }
 local limit_up = 0
 local limit_down = 0
-local limit_down_burst = 0
 
 function main(argv)
        local cmd = argv[1]
@@ -19,7 +18,6 @@ function main(argv)
 
        limit_up = tonumber(uci:get("luci_splash", "general", "limit_up") or 0)
        limit_down = tonumber(uci:get("luci_splash", "general", "limit_down") or 0)
-       limit_down_burst = tonumber(uci:get("luci_splash", "general", "limit_down_burst") or limit_down * 2)
        
        uci:foreach("luci_splash", "iface", function(s)
                if s.network then