Add variables and install script
This commit is contained in:
1 parent
e0c7ce3fca
commit
513a95ec4b
5 files changed
+44
-3
No files matched your search
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Update IP routes after connecting to VPN
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
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
|
||||
Reference in new issue
Block a user