Change entirely the way to manage resolv.conf

This commit is contained in:
2023-06-04 10:55:59 +02:00
parent 7c781475c9
commit e2213b08ab
6 changed files with 30 additions and 24 deletions

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