Skip to content

Commit

Permalink
Update optimizer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
opiran-club authored Aug 23, 2024
1 parent 71e6768 commit b3271d6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions optimizer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,10 +400,7 @@ fix_dns() {
fi
fi

sed -i '/nameserver/d' /etc/resolv.conf
echo 'nameserver 8.8.8.8' >>/etc/resolv.conf
echo 'nameserver 8.8.4.4' >>/etc/resolv.conf

rm -rf /etc/resolv.conf && touch /etc/resolv.conf && echo 'nameserver 8.8.8.8' >> /etc/resolv.conf && echo 'nameserver 4.2.2.4' >> /etc/resolv.conf

spin & SPIN_PID=$!
wait $SPIN_PID
Expand Down

0 comments on commit b3271d6

Please sign in to comment.