summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-09 12:30:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-09 12:30:16 +0000
commit05db82eba9a680a4272544a465a02d45a7417d89 (patch)
treef261aba227a51c550f3d4f3ca2df62e986320e01
parent06001d99b1f6e9f70d3e5e1c0e01c76573bf7d39 (diff)
applications/luci-splash: tc delete operations may fail, make them silent
-rwxr-xr-xapplications/luci-splash/root/etc/init.d/luci_splash8
1 files changed, 4 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 582c2e2f9..2ca565189 100755
--- a/applications/luci-splash/root/etc/init.d/luci_splash
+++ b/applications/luci-splash/root/etc/init.d/luci_splash
@@ -108,7 +108,7 @@ qos_iface_add() {
# 78 -> upload root qdisc
# 79 -> fwmark
- tc qdisc del dev "$iface" root handle 77:
+ silent tc qdisc del dev "$iface" root handle 77:
if [ "$LIMIT_UP" -gt 0 -a "$LIMIT_DOWN" -gt 0 ]; then
tc qdisc add dev "$iface" root handle 77: htb
@@ -134,9 +134,9 @@ qos_iface_add() {
qos_iface_del() {
local iface="$1"
- tc qdisc del dev "$iface" root handle 77:
- tc qdisc del dev "$iface" root handle 78:
- tc filter del dev "$iface" parent ffff: protocol ip prio 1 handle 79 fw
+ silent tc qdisc del dev "$iface" root handle 77:
+ silent tc qdisc del dev "$iface" root handle 78:
+ silent tc filter del dev "$iface" parent ffff: protocol ip prio 1 handle 79 fw
}
boot() {