Inserting debug function into ip route section.

This commit is contained in:
2022-02-13 12:11:43 +00:00
parent d1eb707cec
commit 84afe7cf66

View File

@@ -74,6 +74,7 @@ ip_route() {
NETWORK=$(eval "echo \${"NETWORK_$network_index"}")
GATEWAY=$(eval "echo \${"GATEWAY_$network_index"}")
fi
debug "ip route add "$NETWORK"/24 via "$GATEWAY
$IP_ROUTE add $NETWORK/24 via $GATEWAY
done
}