From 2e930ac6f17a85070fccedcf4f99d9b53639e2c7 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 4 Jun 2023 21:56:16 -0500 Subject: [PATCH] Update update-dns.sh --- update-dns.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/update-dns.sh b/update-dns.sh index b132ab1..71495c0 100755 --- a/update-dns.sh +++ b/update-dns.sh @@ -1,5 +1,13 @@ #!/bin/bash +if [ -d /opt/idssys/defaults ]; then + source /opt/idssys/defaults/colors.inc + source /opt/idssys/defaults/default.inc +else + source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" + source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" +fi + if [ -f /etc/netplan/eth0.yaml ]; then cat /etc/netplan/eth0.yaml else