Hi Jeremy !

>This change adds a '-k' option to /sbin/reboot, which tells init
>(via a SIGALRM) that we're requesting a kexec rather than a
>normal reboot. init then handles this by specifying the correct
>magic to the reboot syscall.

Do we really need this? Busybox init has a restart action. If
this action is set to a script it is invoked after normal
shutdown processing. The script may do whatever action may be
required or optionally restart the init process.

IMO if you really want to extend init we should do it in a
compatible fashion and invoke an action script. The script is
free to do whatever is required.

--
Harald
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to