fix indent
This commit is contained in:
parent
2fa8c76eec
commit
3db93cdc87
@ -57,7 +57,7 @@ __EOF__
|
|||||||
/sbin/route add default gw $gateway
|
/sbin/route add default gw $gateway
|
||||||
fi
|
fi
|
||||||
if ! grep -rq "^/etc/resolv[.]conf$" "${PROTECTED_FILE_LIST}" 2>/dev/null; then
|
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
|
if [ "x$disabledns" != "x1" ]; then
|
||||||
echo "nameserver $primary_dns" > /etc/resolv.conf
|
echo "nameserver $primary_dns" > /etc/resolv.conf
|
||||||
echo "nameserver $secondary_dns" >> /etc/resolv.conf
|
echo "nameserver $secondary_dns" >> /etc/resolv.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user