Fix previous commit: set instructions in right file...
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user