resume.sh scripts exits too early
Bug #156993 reported by
msrg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
checkStateChanged() exits with code 0, when there has been no change to the power. This kills the entire resume.sh.
Hence I've changed resume.sh to look like the following and now it works:
#!/bin/bash
# Source from /etc/acpi/resume.d/
for SCRIPT in /etc/acpi/
if [ -x $SCRIPT ]; then
(. $SCRIPT)
fi
done
To post a comment you must log in.
Sorry no-one got back to you. You did not specify which version of Ubuntu you were using. Can you try with Jaunty 9.10 and report back if this is still a problem please? Thank you.