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.
The diff I did yesterday shows:
diff -ru acpi-support- 0.96ubuntu1/ prepare. sh acpi-support- 0.98/prepare. sh 0.96ubuntu1/ prepare. sh 2006-04-21 16:06:06.000000000 +0100 0.98/prepare. sh 2007-08-31 03:13:20.000000000 +0100
--- acpi-support-
+++ acpi-support-
@@ -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.