Add TODO in script

This commit is contained in:
Alexandre CATTEAU 2023-06-03 19:20:22 +02:00
parent 1971a1380e
commit 7c781475c9

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/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 # count lines in resolv.conf
lines=$(cat /run/libreelec/resolv.conf | wc -l) lines=$(cat /run/libreelec/resolv.conf | wc -l)
# count number of 'nameserver' entries # count number of 'nameserver' entries