From 4f729f4b7fe7a022aaf681d3fce6de2643393e41 Mon Sep 17 00:00:00 2001 From: Heinrich Wendel Date: Mon, 27 Sep 2004 10:25:46 +0000 Subject: fix resolv.conf permissions --- net-dialup/ppp/files/2.4.2/ip-down | 2 -- net-dialup/ppp/files/2.4.2/ip-up | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'net-dialup/ppp/files') diff --git a/net-dialup/ppp/files/2.4.2/ip-down b/net-dialup/ppp/files/2.4.2/ip-down index 2fd5ac302e76..c56db99e6156 100644 --- a/net-dialup/ppp/files/2.4.2/ip-down +++ b/net-dialup/ppp/files/2.4.2/ip-down @@ -28,6 +28,4 @@ if [ "$USEPEERDNS" ]; then fi -[ -f /etc/init.d/firewall ] && /etc/init.d/firewall stop - [ -f /etc/ppp/ip-down.local ] && . /etc/ppp/ip-down.local $1 $2 $3 $4 $5 $6 diff --git a/net-dialup/ppp/files/2.4.2/ip-up b/net-dialup/ppp/files/2.4.2/ip-up index 20d2b99193c9..281be12948d3 100644 --- a/net-dialup/ppp/files/2.4.2/ip-up +++ b/net-dialup/ppp/files/2.4.2/ip-up @@ -31,10 +31,11 @@ if [ "$USEPEERDNS" ]; then cp -a $REALRESOLVCONF $REALRESOLVCONF.pppd-backup mv $REALRESOLVCONF.tmp $REALRESOLVCONF + # correct permissions + chmod 644 $REALRESOLVCONF + fi fi -[ -f /etc/init.d/firewall ] && /etc/init.d/firewall start - [ -f /etc/ppp/ip-up.local ] && . /etc/ppp/ip-up.local $1 $2 $3 $4 $5 $6 -- cgit v1.2.3-65-gdbad