[mythtv-users] Wakeup Timer

Nigel Metheringham nigel.metheringham at dev.intechnology.co.uk
Tue Aug 30 08:07:51 UTC 2005


On Tue, 2005-08-30 at 00:40 +0200, Michael Vistein wrote:
> Nigel Metheringham schrieb:
> >    title Power Down
> > 	savedefault --default=2
> > 	halt
> > 
> > but on power up it sticks on the 0 entry (the power down).
> 
> I didn't succeed with this, too, grub simply didn't save the new default.
> 
> But I found a way that works:
> 
> in my menu.lst I have
> 
> default 1
> 
> so my linux kernel is the default boot option. In my mythshutdown script
> I have
> 
> echo "savedefault --default=0 --once" | grub --batch
> 
> This sets the PowerOff (0) item only for the next boot. Any following
> booting will again have the default from menu.lst. It works for me.

Ah - I assumed that this would only work if you had a default saved
statement - obviously that was a mistake!  Looks like its worth putting
in some grub bug reports though...

	Nigel.
-- 
[ Nigel Metheringham           Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]




More information about the mythtv-users mailing list