diff -urN rp-pppoe-3.7.orig/scripts/pppoe-connect.in rp-pppoe-3.7/scripts/pppoe-connect.in --- rp-pppoe-3.7.orig/scripts/pppoe-connect.in 2005-11-17 04:14:32 +0200 +++ rp-pppoe-3.7/scripts/pppoe-connect.in 2005-12-20 16:13:32 +0200 @@ -29,6 +29,7 @@ # Paths to programs IFCONFIG=/sbin/ifconfig +CHRUPDATE="/sbin/update_chrooted conf" PPPD=@PPPD@ SETSID=@SETSID@ PPPOE=@sbindir@/pppoe @@ -48,7 +49,7 @@ SETSID="" fi -CONFIG=/etc//ppp/pppoe.conf +CONFIG=/etc/ppp/pppoe.conf USER="" ETH="" @@ -219,8 +220,8 @@ # Jigger DNS if required... if test "$DNSTYPE" = "SERVER" ; then # Sorry, dude... - rm -f /etc/resolv.conf - ln -s /etc/ppp/resolv.conf /etc/resolv.conf + cat /etc/ppp/resolv.conf > /etc/resolv.conf + $CHRUPDATE elif test "$DNSTYPE" = "SPECIFY" ; then # Sorry, dude... rm -f /etc/resolv.conf @@ -228,6 +229,7 @@ if test -n "$DNS2" ; then echo "nameserver $DNS2" >> /etc/resolv.conf fi + $CHRUPDATE fi # PPPoE invocation