From: Jo-Philipp Wich Date: Tue, 9 Jun 2009 12:34:52 +0000 (+0000) Subject: applications/luci-splash: we don't need to know down_burst in luci-splash cli X-Git-Tag: 0.9.0~220 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=ceb49b0390f668da0dc94cbd0fd006d451104f8a applications/luci-splash: we don't need to know down_burst in luci-splash cli --- diff --git a/applications/luci-splash/root/usr/sbin/luci-splash b/applications/luci-splash/root/usr/sbin/luci-splash index c737f2f5f..244adc9d8 100755 --- a/applications/luci-splash/root/usr/sbin/luci-splash +++ b/applications/luci-splash/root/usr/sbin/luci-splash @@ -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