IPT_REPLAY=/var/run/luci_splash.iptlog
LOCK=/var/run/luci_splash.lock
-include /lib/network
-scan_interfaces
-config_load luci_splash
-
silent() {
"$@" 2>/dev/null
}
start() {
lock -w $LOCK && lock $LOCK
+ include /lib/network
+ scan_interfaces
+ config_load luci_splash
+
### Find QoS limits
config_get LIMIT_UP general limit_up
config_get LIMIT_DOWN general limit_down
stop() {
lock -w $LOCK && lock $LOCK
+ include /lib/network
+ scan_interfaces
+ config_load luci_splash
+
### Clear interface rules
config_foreach iface_del iface