<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>136595</bug_id>
          
          <creation_ts>2006-06-12 16:03 0000</creation_ts>
          <short_desc>linux-wlan-ng-0.2.3-r1: Patch for /etc/wlan/shared</short_desc>
          <delta_ts>2006-06-23 04:03:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>FelixWiemannBugs@gmx.de</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>FelixWiemannBugs@gmx.de</who>
            <bug_when>2006-06-12 16:03:30 0000</bug_when>
            <thetext>Hi,

To avoid the following error message with linux-wlan-ng-0.2.3-r1, ...

# /etc/init.d/wlan stop
 * Shutting Down WLAN Devices ...
/etc/wlan/shared: line 71: [: too many arguments

..., I needed to make the following change:

--- /etc/wlan/shared~   2006-06-13 02:49:11.000000000 +0200
+++ /etc/wlan/shared    2006-06-13 03:01:16.000000000 +0200
@@ -69,7 +69,7 @@
 fi
 
 if [ -f /proc/sys/kernel/hotplug -a \
-       -x `cat /proc/sys/kernel/hotplug` -a \
+       -x &quot;`cat /proc/sys/kernel/hotplug`&quot; -a \
        -f /etc/hotplug/wlan.agent ] ; then
        HAS_HOTPLUG=y
 else

(/proc/sys/kernel/hotplug is empty on my system.)

Felix</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>betelgeuse@gentoo.org</who>
            <bug_when>2006-06-23 04:03:18 0000</bug_when>
            <thetext>This code is buggy any way and should be fixed upstream. Patch applied. Thanks for reporting.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>