[patch] shared script complains if no hotplug

Bug #50138 reported by Tormod Volden
2
Affects Status Importance Assigned to Milestone
Linux
Invalid
Undecided
Unassigned
linux-wlan-ng (Debian)
Fix Released
Unknown
linux-wlan-ng (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The /etc/wlan/shared script checks to see if there is hotplug on the system. If there is no /proc entry for hotplug the "if [ ]" statement gets garbled and the script complains "bash: [: too many arguments". Nothing serious, but irritating.

Revision history for this message
Tormod Volden (tormodvolden) wrote : trivial patch for /etc/wlan/shared

Just adds "" around the usually empty cat output, so there is no empty -x primitive.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

oh launchpad

Changed in linux:
status: Unconfirmed → Rejected
Changed in linux-wlan-ng:
status: Unknown → Unconfirmed
Changed in linux-wlan-ng:
status: Unconfirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

 linux-wlan-ng (0.2.5-2ubuntu1) edgy; urgency=low
 .
   * Merge from debian unstable, resolving minor merging conflicts. Remaining
     Ubuntu changes:
     - debian/control: Point out that kernel module package is not needed for
       Ubuntu.
     - debian/linux-wlan-ng-suspend, debian/linux-wlan-ng-resume: ifdown/rmmod
       l-w-n devices before suspend and restore the state after resuming.
     - debian/linux-wlan-ng.install: Install above two scripts.
     - debian/linux-wlan-ng-pre-up, etc/rc.wlan: ieee80211 is the newer name
       for p80211.
     - debian/linux-wlan-ng.preinst, debian/linux-wlan-ng.postinst: hotplug
       transition cleanup.
     - debian/linux-wlan-ng-post-down: Do not unload modules to not break
       network-manager and to conform to new udev world order.
     - debian/rules: Fix bashisms.
     - debian/patches/CONF_etc_linux-wlan-ng_rules.dpatch: Create some udev
       rules to make l-w-n work with network-manager.
     - debian/patches/CONF_etc_Makefile.dpatch: Install udev rules into
       appropriate directory.
   * New upstream version (UVF Exception granted by Matt Zimmerman):
     - Make /e/n/interfaces keywords for WEP compatible with the rest of the
       world. Closes: LP#37451
     - Fix /etc/wlan/shared to not complain without hotplug. Closes: LP#50138
     - Leave default wireless mode to 'auto' instead of 'ad-hoc' to unbreak
       configuration with gnome-system-tools. Closes: LP#50224
   * Thanks to Tormod Volden for doing the initial merge and triaging the
     relevant bugs!

Changed in linux-wlan-ng:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.