1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Remove debug echo

This commit is contained in:
Ycarus 2018-02-26 09:42:00 +01:00
parent 0efa68ec9f
commit 9e119bb8f3

View file

@ -29,13 +29,10 @@ interface_multipath_settings() {
config_get iface "$config" ifname
count=$(($count+1))
id=$count
echo $iface
[ -n "$intf" ] && [ "$iface" != "$intf" ] && return 0
echo "ok"
[ -z "$iface" ] && return 0
[ -n "$(ifconfig | grep $iface)" ] || return 0
config_get mode "$config" multipath "off"
echo "mode $mode"
[ "$mode" = "off" ] && {
ip rule del table $id > /dev/null 2>&1
ip route flush $id > /dev/null 2>&1