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 <[email protected]>
$IP route flush table $tid &> /dev/null
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
done
table="$($IPT -S)"