On 1 April 2010 11:40, Sebastian Spaeth <[email protected]> wrote:
> I just pushed the fix for http://trac.shr-project.org/trac/ticket/1032
> over into shr-testing: ppp (all GPRS uses) will use resolvconf now,
> rather than writing some crap into /etc/resolv.conf.
It didn't write crap into /etc/resolv.conf, it would just write to
/var/run/resolv.conf - and keep you wondering why your connection
doesn't work. But I saw that check for the resolvconf-program already
in place:
r...@gta02v6:~ # cat /etc/ppp/ip-up.d/08setupdns
#!/bin/sh
ACTUALCONF=/var/run/resolv.conf
PPPCONF=/var/run/ppp/resolv.conf
if [ -x /sbin/resolvconf ] ; then
cat $PPPCONF | resolvconf -a $PPP_IFACE
elif [ -f $PPPCONF ] ; then
if [ -f $ACTUALCONF ] ; then
if [ ! -h $ACTUALCONF -o ! "`readlink $ACTUALCONF
2>&1`" = "$PPPCONF" ] ; then
mv $ACTUALCONF $ACTUALCONF.ppporig
fi
fi
ln -sf $PPPCONF $ACTUALCONF
fi
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user