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