How to reboot the system if busybox run as init

Harald Becker ralda at gmx.de
Fri Nov 30 17:53:15 UTC 2012


Hi Woody !

>So I just want know, is there a way to let busybox reboot my system by,
>for example, passing it with a kind of argument?

What about "reboot -f" ? ... this shall do the job, but does not
flush buffers or unmount file systems. So it is your job to avoid file
system damages due to data lose.

I prefer the following command sequence in that situation:

sync && sleep 1 && reboot -f

--
Harald


More information about the busybox mailing list