On Tuesday 11 November 2008 12:28, Vladimir Dronnikov wrote:
> A couple of notes/questions:
>
> * An interesting feature of the hook script could be a confirmation dialog
> (or read -t 5 AREYOUSURE) for reboot/shutdown.
Why?
If admin said to reboot, we can presume he knows what he is doing.
> * Is there a way to call kernel's emergency_{sync,remount}() from userspace?
> To get rid of userspace shutter-down.
Even if it is there, that is a quite dirty method.
> * Do you plan to modify vanilla BB init to keep reboot/shutdown procedure
> consistent with your opinion on reboot should be a shell script?
No. I plan to make (or rather, to keep) both methods
in working order. I won't dictate people how to run their machines.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox