Package: pcmcia-cs
Version: 3.2.8-5.2
Followup-For: Bug #336909

I also saw this problem. Somehow the Debian-specific section of
network.opts got lost in one of the two recent NMUs, since -5 still has
that part of the script. Trivial patch to revert to the script of -5 is
attached.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.27-2-586tsc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages pcmcia-cs depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  dmidecode                     2.7-2      Dump Desktop Management Interface 
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an
ii  lsb-base                      3.0-11     Linux Standard Base 3.0 init scrip
ii  modutils                      2.4.27.0-3 Linux module utilities
ii  psmisc                        21.8-1     Utilities that use the proc filesy

Versions of packages pcmcia-cs recommends:
pn  hotplug                       <none>     (no description available)

-- debconf information:
* pcmcia-cs/run_probe: true
* pcmcia-cs/start_pcmcia: true
--- /etc/pcmcia/network.opts    2005-10-21 20:08:27.000000000 +0200
+++ network.opts        2005-11-08 16:53:25.000000000 +0100
@@ -59,3 +59,24 @@
     NO_FUSER=n
     ;;
 esac
+
+# This tries to use Debian's network setup in /etc/network/interfaces
+# if no settings are given higher up in this file.  You can delete it
+# if that isn't desired.
+
+[ -r /etc/default/pcmcia ] && . /etc/default/pcmcia
+
+is_true $DHCLIENT || is_true $WHEREAMI || \
+is_true $PUMP || is_true $BOOTP || is_true $DHCP || \
+if [ -z "$IPADDR" ]  && [ -x /sbin/ifup ] && [ -x /sbin/ifdown ] ; then
+    INFO="Debian network setup"
+    if ! is_true $REFRAIN_FROM_IFUP ; then
+        start_fn () {
+           log /sbin/ifup $1
+        }
+    fi
+    stop_fn () {
+       log /sbin/ifdown $1
+    }
+fi
+

Reply via email to