Update update-dns.sh

This commit is contained in:
2023-06-04 21:56:16 -05:00
parent 6474d57b43
commit 2e930ac6f1

View File

@@ -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