Jorge Peixoto de Morais Neto escribió:
> 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"?
> You should use the kexec system call directly, the file that you need to edit is src/initng_main.c. Good luck ;).
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
