mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
mwan3: init.d/mwan3: fix GNU grep warning about stray \
GNU grep complains: grep: warning: stray \ before : Drop the \, confirmed with busybox grep backslash is non-significant (the output is the same). Closes: https://github.com/openwrt/packages/issues/25198 Signed-off-by: Fabian Groffen <grobian@bitzolder.nl>
This commit is contained in:
committed by
Florian Eckert
parent
47fd548a71
commit
575db9300a
@@ -77,7 +77,7 @@ stop_service() {
|
|||||||
$IP route flush table $tid &> /dev/null
|
$IP route flush table $tid &> /dev/null
|
||||||
done
|
done
|
||||||
|
|
||||||
for rule in $($IP rule list | grep -E '^[1-3][0-9]{3}\:' | cut -d ':' -f 1); do
|
for rule in $($IP rule list | grep -E '^[1-3][0-9]{3}:' | cut -d ':' -f 1); do
|
||||||
$IP rule del pref $rule &> /dev/null
|
$IP rule del pref $rule &> /dev/null
|
||||||
done
|
done
|
||||||
table="$($IPT -S)"
|
table="$($IPT -S)"
|
||||||
|
|||||||
Reference in New Issue
Block a user