Package: pppconfig
Version: 2.3.13
Severity: normal
Tags: patch

When the ppp system creates /etc/resolv.conf, it is currently failing to
include the contents of /etc/ppp/resolv/$PROVIDER.

The enclosed patch fixes the problem (at least for me).  Note that, with the
"!", the code does exactly the opposite of what the comment says it does.

--- etc/ppp/ip-up.d/0dns-up.orig        2006-07-20 08:46:11.000000000 -0700
+++ etc/ppp/ip-up.d/0dns-up     2006-08-04 12:52:23.000000000 -0700
@@ -103,7 +103,7 @@
 fi
 
 # We better not do anything if a RESOLVBAK already exists.
-if ! ls | grep -q "resolv.conf.bak"
+if ls | grep -q "resolv.conf.bak"
     then
     rm -f "$TEMPRESOLV"
     exit 1

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-1 (charmap=ISO-8859-1)

Versions of packages pppconfig depends on:
ii  ppp                           2.4.4rel-2 Point-to-Point Protocol (PPP) daem
ii  whiptail                      0.52.2-5.1 Displays user-friendly dialog boxe

pppconfig recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to