diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-09-27 10:25:46 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-09-27 10:25:46 +0000 |
commit | 4f729f4b7fe7a022aaf681d3fce6de2643393e41 (patch) | |
tree | 4b589835d405300da051177788585568a540ade3 /net-dialup/ppp/files | |
parent | fix tcltk useflag, bug #53986; remove old version (Manifest recommit) (diff) | |
download | gentoo-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-down | 2 | ||||
-rw-r--r-- | net-dialup/ppp/files/2.4.2/ip-up | 5 |
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 |