[Linux-wlan-ng-devel] Bug#327694: linux-wlan-ng: pcmcia start script fails when no /etc/wlan/*shared files exist

Sean Finney seanius at debian.org
Sun Sep 11 15:34:57 UTC 2005


Package: linux-wlan-ng
Version: 0.2.2-2
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sep 11 17:00:58 localhost cardmgr[5180]: + /etc/wlan/shared: line 93: /etc/wlan/shared.*: No such file or directory

i believe the following patch fixes it:

- --- /etc/wlan/shared.old        2005-09-11 17:31:30.000000000 +0200
+++ /etc/wlan/shared    2005-09-11 17:33:42.000000000 +0200
@@ -89,9 +89,11 @@
 # Source NSD specific functions
 # nsd_fwload
 # nsd_mibset
- -for i in /etc/wlan/shared.* ; do 
- -       . $i
- -done
+if [ "`ls /etc/wlan/shared.* 2>/dev/null`" ]; then
+       for i in /etc/wlan/shared.* ; do 
+               . $i
+       done
+fi
 
 is_true ()
 {


- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages linux-wlan-ng depends on:
ii  libc6                         2.3.5-4    GNU C Library: Shared libraries an
ii  sysvinit                      2.86.ds1-1 System-V like init
pn  wireless-tools                           Not found.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFDJE6gynjLPm522B0RAhzdAJ914a9bvp7O7EsgeJ+zSsyC8yJXDwCeKtsg
qnKEj1MYUGQAAb9weATo/pA=
=D1YC
-----END PGP SIGNATURE-----





More information about the Linux-wlan-ng-devel mailing list