File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
etc/NetworkManager/dispatcher.d Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22# Sample script to add in the /etc/NetworkManager/dispatcher.d folder.
3- # Allowing you to properly configure additionnal routes if needed
3+ # Allowing you to properly configure additional routes if needed
44# There might be better way to do this, but I'm not aware of them in my specific case.
55
66
@@ -22,7 +22,7 @@ if [ "$INTERFACE" = "$TARGET_INTERFACE" ]; then
2222 up)
2323 # This code runs when the connection comes up
2424 logger " NetworkManager Dispatcher: Applying custom rules for $INTERFACE "
25- # Add specific ressources route rules here (more easy than the +ipv4.route using the via which could be random):
25+ # Add specific resources route rules here (more easy than the +ipv4.route using the via which could be random):
2626 # ip route add 10.10.10.0/24 dev $TARGET_INTERFACE scope link
2727 # ip route add 10.10.20.0/24 dev $TARGET_INTERFACE scope link
2828 # ip route add 10.10.30.120/32 dev $TARGET_INTERFACE scope link
You can’t perform that action at this time.
0 commit comments