parent
8b89bff635
commit
999f6a0dcd
|
@ -57,7 +57,7 @@ __EOF__
|
|||
/sbin/route add default gw $gateway
|
||||
fi
|
||||
if ! grep -rq "^/etc/resolv[.]conf$" "${PROTECTED_FILE_LIST}" 2>/dev/null; then
|
||||
echo > /etc/resolv.conf
|
||||
echo > /etc/resolv.conf
|
||||
if [ "x$disabledns" != "x1" ]; then
|
||||
echo "nameserver $primary_dns" > /etc/resolv.conf
|
||||
echo "nameserver $secondary_dns" >> /etc/resolv.conf
|
||||
|
|
Loading…
Reference in New Issue
Block a user