Update update-dns.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user