--- /etc/ppp/ip-up.orig 2005-09-25 23:56:18 +0400 +++ /etc/ppp/ip-up 2007-12-24 15:17:06 +0300 @@ -118,14 +118,8 @@ } if ! is_no "$RESOLV_MODS"; then - # for dynamic DNS support with gnome-ppp and kppp and draknet (adsl) - if grep -iqs '#.*ppp temp entry' /etc/resolv.conf; then - PPP_TEMP_ENTRY=`grep '#.*ppp temp entry' /etc/resolv.conf | \ - tail -1 | sed 's/.*ppp temp entry/# ppp temp entry/' ` - else - unset PPP_TEMP_ENTRY - fi - [ -n "$PPP_TEMP_ENTRY" ] && modify_resolver + # check if kppp was here, don't touch /etc/resolv.conf then + grep -iqs '#.*ppp temp entry' /etc/resolv.conf || modify_resolver fi case $CONFMETHOD in