Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 262059 Details for
Bug 353045
net-dialup/ppp: race between ppp and dhcpcd setting resolver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch 40-dns.sh in ppp to solve issue
patch (text/plain), 738 bytes, created by
niv
on 2011-02-10 16:02:19 UTC
(
hide
)
Description:
patch 40-dns.sh in ppp to solve issue
Filename:
MIME Type:
Creator:
niv
Created:
2011-02-10 16:02:19 UTC
Size:
738 bytes
patch
obsolete
>--- /etc/ppp/ip-up.d/40-dns.sh.orig 2009-11-16 23:59:25.000000000 +0200 >+++ /etc/ppp/ip-up.d/40-dns.sh 2011-02-10 17:55:55.000000000 +0200 >@@ -9,11 +9,18 @@ > if [ "$USEPEERDNS" ]; then > > if [ -x /sbin/resolvconf ]; then >+ let count=0 >+ while ! [ -f /var/lib/run/resolvconf/interfaces/$1 ] ; do > { > echo "# Generated by ppp for $1" > [ -n "$DNS1" ] && echo "nameserver $DNS1" > [ -n "$DNS2" ] && echo "nameserver $DNS2" > } | /sbin/resolvconf -a "$1" >+ let count++ >+ [ $count -ge 20 ] && break >+ sleep 3 >+ done >+ echo "`date '+%b %d %k:%M:%S'` 40-dns.sh ran resolvconf using $DNS1 and $DNS2" >>/var/log/messages > else > # add the server supplied DNS entries to /etc/resolv.conf > # (taken from debian's 0000usepeerdns) >
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 353045
: 262059