minor missing test in modules-load.sh (existence of pccardctl)
Bug #47287 reported by
Pierre Lombard
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-
@@ -18,4 +18,4 @@
fi
# And bring back PCMCIA code
-pccardctl insert
+[ -x /sbin/pccardctl ] && /sbin/pccardctl insert
Changed in acpi-support: | |
status: | New → Fix Committed |
To post a comment you must log in.
This has been released, slightly different:
[ -x /sbin/pccardctl ] && pccardctl insert