X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=applications%2Fluci-splash%2Froot%2Fetc%2Finit.d%2Fluci_splash;h=d2628c86fe62c2ee6534ca4e5a4f5c516738c604;hp=fe80628823863da42d34f606bfc19d4ecf96fd2c;hb=2a366f4c554d46a33f727bc04e4d7a7798e5be3b;hpb=49fc87429ff313ef37a9473147ddd8cf97d74d08 diff --git a/applications/luci-splash/root/etc/init.d/luci_splash b/applications/luci-splash/root/etc/init.d/luci_splash index fe8062882..d2628c86f 100755 --- a/applications/luci-splash/root/etc/init.d/luci_splash +++ b/applications/luci-splash/root/etc/init.d/luci_splash @@ -245,18 +245,16 @@ start() { fi ### Add QoS chain - [ "$LIMIT_UP" -gt 0 -a "$LIMIT_DOWN" -gt 0 ] && { - iptables -t mangle -N luci_splash_mark_out - iptables -t mangle -N luci_splash_mark_in - iptables -t mangle -I PREROUTING -j luci_splash_mark_out - iptables -t mangle -I POSTROUTING -j luci_splash_mark_in - if [ "$HAS_IPV6" = 1 ]; then - ip6tables -t mangle -N luci_splash_mark_out - ip6tables -t mangle -N luci_splash_mark_in - ip6tables -t mangle -I PREROUTING -j luci_splash_mark_out - ip6tables -t mangle -I POSTROUTING -j luci_splash_mark_in - fi - } + iptables -t mangle -N luci_splash_mark_out + iptables -t mangle -N luci_splash_mark_in + iptables -t mangle -I PREROUTING -j luci_splash_mark_out + iptables -t mangle -I POSTROUTING -j luci_splash_mark_in + if [ "$HAS_IPV6" = 1 ]; then + ip6tables -t mangle -N luci_splash_mark_out + ip6tables -t mangle -N luci_splash_mark_in + ip6tables -t mangle -I PREROUTING -j luci_splash_mark_out + ip6tables -t mangle -I POSTROUTING -j luci_splash_mark_in + fi ### Find active mac addresses MACS=""