resume.sh scripts exits too early

Bug #156993 reported by msrg
4
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/resume.d/*.sh; do
    if [ -x $SCRIPT ]; then
        (. $SCRIPT)
    fi
done

Revision history for this message
xteejx (xteejx) wrote :

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.

Changed in acpi-support (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

Since resume.sh is no longer present in acpi-support in karmic at all, this bug is resolved for the upcoming release.

Changed in acpi-support (Ubuntu):
status: Incomplete → 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.