Update update-dns.sh

This commit is contained in:
2024-03-09 15:41:00 -06:00
parent 99f2eb79f3
commit c38e7eb865

View File

@@ -33,7 +33,7 @@ case "$choice" in
* ) if [ -f /etc/netplan/eth0.yaml ] || [ -f /etc/netplan/network.yaml ]; then
if [ "${1}" = "offsite" ]; then
sed -i 's/10.10.10.10,10.10.10.11/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile}
sed -i 's/10.2.1.5,10.10.10.5/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile}
sed -i 's/10.2.1.2,10.10.10.5/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile}
sed -i 's/127.0.0.1,10.10.10.10/10.2.1.5,10.2.1.6,10.10.10.5/g' ${netfile}
else
sed -i 's/10.10.10.10,10.10.10.11/10.10.10.10,10.10.10.11,10.2.1.2/g' ${netfile}