Hi Jeremy !

>> 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.
>
>That seems a little bit clunky; we may not always want the
>restart action to be a kexec (but just a normal reboot). In this
>case, would we need to be dynamically reconfiguring the restart
>action?

We have already three types of shutdown: halt, reboot and
poweroff. All three are handled by the same restart action and
need what you call "dynamic reconfiguration". You may just pass
required information via shared memory. In most cases I know, it
is handled this way.

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

Reply via email to