Change entirely the way to manage resolv.conf

This commit is contained in:
alex committed 2023-06-04 10:55:59 +02:00
1 parent 7c781475c9
commit e2213b08ab
6 files changed
+30 -24

No files matched your search

+2 -1
View File
@@ -7,4 +7,5 @@ RemainAfterExit=yes
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=/usr/bin/bash /storage/libreelec-conf/set-resolv-conf.sh
ExecStart=/usr/bin/bash /storage/libreelec-conf/set-dns.sh
ExecStop=/usr/bin/bash /storage/libreelec-conf/unset-dns.sh