Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39729 Details for
Bug 54994
ip-up script shouldn't change /etc/resolv.conf when a dnsd (dnsmasq/pdnsd) is running
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ip-updown.diff
ip-updown.diff (text/plain), 1.02 KB, created by
Alan Swanson
on 2004-09-16 17:12:08 UTC
(
hide
)
Description:
ip-updown.diff
Filename:
MIME Type:
Creator:
Alan Swanson
Created:
2004-09-16 17:12:08 UTC
Size:
1.02 KB
patch
obsolete
>--- ip-up.old 2004-09-17 00:57:59.000000000 +0100 >+++ ip-up 2004-09-17 00:59:29.000000000 +0100 >@@ -11,7 +11,8 @@ > # $5 = remote-IP-address > # $6 = ipparam > >-if [ "$USEPEERDNS" ]; then >+if [ "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then >+ if [[ -z `/bin/grep 127.0.0.1 /etc/resolv.conf` ]]; then > > # add the server supplied DNS entries to /etc/resolv.conf > # (taken from debian's 0000usepeerdns) >@@ -32,7 +33,7 @@ > mv $REALRESOLVCONF.tmp $REALRESOLVCONF > > fi >- >+ fi > fi > > [ -f /etc/init.d/firewall ] && /etc/init.d/firewall start >--- ip-down.old 2004-09-17 00:58:06.000000000 +0100 >+++ ip-down 2004-09-17 01:00:05.000000000 +0100 >@@ -11,7 +11,8 @@ > # $5 = remote-IP-address > # $6 = ipparam > >-if [ "$USEPEERDNS" ]; then >+if [ "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then >+ if [[ -z `/bin/grep 127.0.0.1 /etc/resolv.conf` ]] ; then > > # taken from debian's 0000usepeerdns > # follow any symlink to find the real file >@@ -25,7 +26,7 @@ > fi > > fi >- >+ fi > fi > > [ -f /etc/init.d/firewall ] && /etc/init.d/firewall stop
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54994
: 39729