[Initng] How to run a program on reboot

Jorge Peixoto de Morais Neto please.no.spam.here at gmail.com
Sat Mar 24 17:27:13 CET 2007


>
> This isn't possible with the current initng, you need to implement
> it inside of initng.

I don't know how to elegantly implement a "reboot hook" in the general case.
But if I only want to run kexec, it seems a simple matter of adding
system("kexec -e") in the right place and recompiling. Can you tell me what
is the "right place"?

-- 
Software is like sex: it is better when it is free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jw.dyndns.org/pipermail/initng/attachments/20070324/4b4ffc29/attachment.htm 


More information about the Initng mailing list