This commit is contained in:
Brian Zalewski 2023-12-25 03:14:53 +00:00
parent 7fecce5fe2
commit ff76261f58

View file

@ -272,7 +272,7 @@ configureNetworkManagerVPNProfiles() {
ensureNetworkConfigs
nmcli connection modify "$OVPN_NAME" +ipv4.routes "$EXCLUDED_SUBNET" | sudo tee -a /etc/network/if-up.d/routeadd
nmcli connection modify "$OVPN_NAME" -ipv4.routes "$EXCLUDED_SUBNET" | sudo tee -a /etc/network/if-post-down.d/routedel
fi
done
RESTART_NM=true
done
else