diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-17 19:17:01 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-02-17 19:17:01 +0000 |
commit | 9e09f62fc6bbdf5456486b19f8fdb46772a52eef (patch) | |
tree | 3ea8948cc94caf27097110eff3aa78fc52181050 /applications/luci-splash/root/etc/init.d | |
parent | 788b55d9f8d40d03e78083ad149784143d7acfe7 (diff) |
applications/luci-splash: fix init script enabling on build host
Diffstat (limited to 'applications/luci-splash/root/etc/init.d')
-rwxr-xr-x | applications/luci-splash/root/etc/init.d/luci_splash | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/applications/luci-splash/root/etc/init.d/luci_splash b/applications/luci-splash/root/etc/init.d/luci_splash index 5206d448cb..2854717734 100755 --- a/applications/luci-splash/root/etc/init.d/luci_splash +++ b/applications/luci-splash/root/etc/init.d/luci_splash @@ -9,10 +9,6 @@ LIMIT_UP=0 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 } @@ -167,6 +163,10 @@ EOF 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 @@ -240,6 +240,10 @@ start() { stop() { lock -w $LOCK && lock $LOCK + include /lib/network + scan_interfaces + config_load luci_splash + ### Clear interface rules config_foreach iface_del iface |