3 if [ "$DNS1" -o "$DNS2" ] ; then
4 sed -i -e '/.*# automatically added/d' /etc
/resolv.conf
6 echo "# automatically added by $0 during PPP connect ..."
7 [ "$DNS1" ] && echo "nameserver $DNS1 # automatically added"
8 [ "$DNS2" ] && echo "nameserver $DNS2 # automatically added"