Fix previous commit: set instructions in right file...
This commit is contained in:
parent
b4fb985c72
commit
3156e64b26
@ -4,3 +4,6 @@ Description=Detect WireGuard VPN activation
|
||||
[Path]
|
||||
PathExists=/sys/class/net/wg0
|
||||
Unit=set-ip-routes.service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
@ -7,6 +7,3 @@ ExecStart=/usr/sbin/ip route del default dev wg0
|
||||
ExecStart=/usr/sbin/ip route add PH_DNS dev wg0
|
||||
ExecStart=/usr/sbin/ip route add PH_NETWORK dev wg0
|
||||
ExecStart=/storage/libreelec-conf/set-resolv-conf.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
Loading…
Reference in New Issue
Block a user