autoshutdown.py is not taking into effect AUTOSHUTDOWN_REMOUNT_BOOT_CMD and
AUTOSHUTDOWN_REMOUNT_BOOT_OPT to mount /boot before changing GRUB config.

I suggest the following fix for autoshutdown.py (works for me;)
--- /root/install/svn/freevo-1.7/src/plugins/autoshutdown.py    2007-01-05
20:57:30.000000000 +0200
+++ /usr/lib/python2.4/site-packages/freevo/plugins/autoshutdown.py
2007-01-10 20:55: 42.000000000 +0200
@@ -554,6 +554,7 @@
                    if config.AUTOSHUTDOWN_REMOUNT_BOOT_CMD:
                        cmd = "%s %s" % (
config.AUTOSHUTDOWN_REMOUNT_BOOT_CMD, \

config.AUTOSHUTDOWN_REMOUNT_BOOT_OPT)
+                        __syscall(cmd)
                    cmd = config.AUTOSHUTDOWN_GRUB_CMD
                    __syscall(cmd)
                    _debug_("Wakeup set, reboot needed")

I'm using autoshutdown all the time.
Reggie
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to