summaryrefslogtreecommitdiff
path: root/net/rp-pppoe/patches/patch-ab
blob: 36c9289b1d6d7cf8eec97bdc5aad653fa1301bc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$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