From 7c781475c9bb571da8d71a4b8ca9d7cacf4d6216 Mon Sep 17 00:00:00 2001 From: Alexandre CATTEAU Date: Sat, 3 Jun 2023 19:20:22 +0200 Subject: [PATCH] Add TODO in script --- set-resolv-conf.sh | 4 ++++ 1 file changed, 4 insertions(+) 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