minor missing test in modules-load.sh (existence of pccardctl)

Bug #47287 reported by Pierre Lombard
10
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: acpi-support

I often use sleep.sh from the command line and when I resume it displays an error message as I have no /sbin/pccardctl installed.

(acpi-support 0.84 - current dapper)

--- 35-modules-load.sh 2006-05-25 00:59:31.000000000 +0200
+++ 35-modules-load.sh-new 2006-05-25 01:00:24.000000000 +0200
@@ -18,4 +18,4 @@
 fi

 # And bring back PCMCIA code
-pccardctl insert
+[ -x /sbin/pccardctl ] && /sbin/pccardctl insert

Matthew Garrett (mjg59)
Changed in acpi-support:
status: New → Fix Committed
Revision history for this message
Daniel Hahler (blueyed) wrote :

This has been released, slightly different:
[ -x /sbin/pccardctl ] && pccardctl insert

Changed in acpi-support:
status: Fix Committed → 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.