From b0b5b5669ce1925dbb647331ff68cd17cc3c14d5 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 18 Dec 2022 18:16:41 -0600 Subject: [PATCH] Update update-dns.sh --- update-dns.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update-dns.sh b/update-dns.sh index 1705ad3..3fc185b 100755 --- a/update-dns.sh +++ b/update-dns.sh @@ -24,4 +24,11 @@ case "$choice" in fi;; esac +echo +if [ -f /etc/netplan/eth0.yaml ]; then + cat /etc/netplan/eth0.yaml +else + cat /etc/network/interfaces +fi +echo