diff --git a/network/setup-ip b/network/setup-ip index 5dbec79..c8c5bc6 100755 --- a/network/setup-ip +++ b/network/setup-ip @@ -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