Comment 11 for bug 136453

Revision history for this message
TJ (tj) wrote :

The diff I did yesterday shows:

diff -ru acpi-support-0.96ubuntu1/prepare.sh acpi-support-0.98/prepare.sh
--- acpi-support-0.96ubuntu1/prepare.sh 2006-04-21 16:06:06.000000000 +0100
+++ acpi-support-0.98/prepare.sh 2007-08-31 03:13:20.000000000 +0100
@@ -1,5 +1,7 @@
 #!/bin/bash

 for SCRIPT in /etc/acpi/suspend.d/*.sh; do
- . $SCRIPT
+ if [ -x $SCRIPT]; then
+ . $SCRIPT
+ fi
 done
\ No newline at end of file

So the change there is to ensure $SCRIPT is executable.