Hi Georg,

> P.S.: Can anyone provide detailed info about grub setup for nvram-wakeup
> reboots ? I'd like to add this functionality to the script.
I am using grub and the following works for me. You need
grub and the oneshot patch¹.

My  grub.conf looks like:

#
# boot my favorite linux
#
title Gentoo
...

#
# the PowerOff section
#
title PowerOff
# take care to boot Gentoo the next time
savedefault --default=0 --once
halt


You need the following command to activate the PowerOff section:
echo "savedefault --default=1 --once quit" | /sbin/grub


Hope that helps
René

________
¹ http://www.linuxfromscratch.org/patches/downloads/grub/

-- 
~/.signature


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to