# We are done when IPsec is not enabled
if [ "${ENABLED}" = "on" ]; then
# Enable route table lookup
- ip rule add lookup "${ROUTE_TABLE}" prio "${ROUTE_TABLE_PRIO}" >/dev/null 2>&1
+ ip rule add lookup "${ROUTE_TABLE}" prio "${ROUTE_TABLE_PRIO}"
while IFS="," read -r "${VARS[@]}"; do
# Check if the connection is enabled
log "Creating route to ${rightsubnet} (via ${address} and ${RED_INTF})"
ip route add table "${ROUTE_TABLE}" "${rightsubnet}" proto static \
- dev "${RED_INTF}" src "${address}" >/dev/null 2>&1
+ dev "${RED_INTF}" src "${address}"
done
# No interface processing required