Update update-dns.sh
This commit is contained in:
@@ -47,9 +47,9 @@ case "$choice" in
|
|||||||
else
|
else
|
||||||
# if [ "${1}" = "offsite" ]; then
|
# if [ "${1}" = "offsite" ]; then
|
||||||
sed -i 's/10.2.1.2 10.10.10.5/10.2.1.6 10.2.1.5/g' ${netfile}
|
sed -i 's/10.2.1.2 10.10.10.5/10.2.1.6 10.2.1.5/g' ${netfile}
|
||||||
else
|
# else
|
||||||
sed -i 's/10.10.10.5 10.2.1.2/10.10.10.11 10.10.10.10/g' ${netfile}
|
sed -i 's/10.10.10.5 10.2.1.2/10.10.10.11 10.10.10.10/g' ${netfile}
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
/usr/sbin/service networking restart
|
/usr/sbin/service networking restart
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user