summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-09-27 10:25:46 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-09-27 10:25:46 +0000
commit4f729f4b7fe7a022aaf681d3fce6de2643393e41 (patch)
tree4b589835d405300da051177788585568a540ade3 /net-dialup/ppp/files
parentfix tcltk useflag, bug #53986; remove old version (Manifest recommit) (diff)
downloadgentoo-2-4f729f4b7fe7a022aaf681d3fce6de2643393e41.tar.gz
gentoo-2-4f729f4b7fe7a022aaf681d3fce6de2643393e41.tar.bz2
gentoo-2-4f729f4b7fe7a022aaf681d3fce6de2643393e41.zip
fix resolv.conf permissions
Diffstat (limited to 'net-dialup/ppp/files')
-rw-r--r--net-dialup/ppp/files/2.4.2/ip-down2
-rw-r--r--net-dialup/ppp/files/2.4.2/ip-up5
2 files changed, 3 insertions, 4 deletions
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