Public bug reported:

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

** Affects: acpi-support (Ubuntu)
     Importance: Undecided
         Status: New

-- 
resume.sh scripts exits too early
https://bugs.launchpad.net/bugs/156993
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to