diff --git a/set-resolv-conf.sh b/set-resolv-conf.sh index 3629522..ce8ae36 100755 --- a/set-resolv-conf.sh +++ b/set-resolv-conf.sh @@ -1,5 +1,9 @@ #!/usr/bin/env bash +# TODO review entirely: +# * use DNS variable to set the first nameserver line +# * add an "ExecStop" to service, and a script to remove that first line + # count lines in resolv.conf lines=$(cat /run/libreelec/resolv.conf | wc -l) # count number of 'nameserver' entries