How to reboot the system if busybox run as init

Woody Wu narkewoody at gmail.com
Fri Nov 30 14:47:06 UTC 2012


Hi,

Since my root fs has not yet fully ready, so I just run busybox as init
via 'init=/bin/sh' kernel command line.  After the root mounted, the
busybox then get loaded as the init process (sh linked to busybox). But
in that situation I cannot not reboot my system via something like
'reboot' command, so I have to quite often switch on and off the
machine, this may damage my board.

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?


-- 
woody
I can't go back to yesterday - because I was a different person then.



More information about the busybox mailing list