A colleague of mine (Peter Miller) went to the trouble of debugging this
further.

He found that by adding:

        battery
        ac
        sbs

to the file  /etc/initramfs-tools/modules and then running the command:

        sudo update-initramfs -u

fixed the problem on his laptop.

I tried the same fix on my laptop and tested it by using tune2fs to
temporarily set the max-mount-counts to 2 and then rebooted the machine
a couple of times to verify.

Considering this is such an easy fix, it would be nice if this could be
rolled into an existing package (say laptop-detect or laptop-mode-tools)
or as part of the installation procedure.

-- 
on_ac_power script returns 255 during boot
https://bugs.launchpad.net/bugs/49240
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