UEFI BIOS and resume/suspend

Tom H tomh0665 at gmail.com
Mon Aug 27 09:21:37 UTC 2012


On Sat, Aug 25, 2012 at 6:02 AM, Karl Auer <kauer at biplane.com.au> wrote:
>
> Look at the existing upstart scripts in /etc/init, copy one of the
> simple ones to a name of your choosing, e.g colin.conf, and change it to
> set that control variable you found.
>
>    # colin
>    description     "whatever you like"
>
>    start on runlevel [2345]
>
>    task
>
>    script
>    echo disabled > /sys/devices/pci0000:00/0000:00:1a.0/power/wakeup
>    end script

A better solution than my "rc.local" suggestion.

A udev rule's probably a better way (strictly speaking!) but who wants
to deal with its syntax when an upstart job's as simple as the above
one.




More information about the ubuntu-users mailing list