a8911c661d
and reverted by patches, some of them were already present in (now removed) patches; plus: - Changed the names of commands from adsl-* to pppoe-* to more logically name the scripts. - Make the userland pppoe daemon run as "nobody" if possible, once session has started. - Make userland pppoe program somewhat safe if it is installed SUID or SGID. Note that I still do *NOT* recommend a SUID/SGID pppoe. - Fix long-standing bug in pppoe-server that passed arguments to pppd in the wrong order.
12 lines
338 B
Text
12 lines
338 B
Text
$NetBSD: patch-ab,v 1.6 2006/11/01 15:17:14 martin Exp $
|
|
|
|
--- scripts/pppoe-setup.in.orig 2006-04-02 16:29:42.000000000 +0200
|
|
+++ scripts/pppoe-setup.in 2006-11-01 12:34:32.000000000 +0100
|
|
@@ -320,6 +320,7 @@
|
|
if [ "$DNS2" != "" ] ; then
|
|
$ECHO "nameserver $DNS2" >> /etc/resolv.conf
|
|
fi
|
|
+ chmod 644 /etc/resolv.conf
|
|
fi
|
|
fi
|
|
|