How to reboot the system if busybox run as init

Bernd Petrovitsch bernd at petrovitsch.priv.at
Fri Nov 30 16:36:29 UTC 2012


Hi!

On Fre, 2012-11-30 at 14:47 +0000, Woody Wu wrote:
[...]
> 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.

You may damage your mainboard if you just seitch the power off?
Sounds like a hardware bug.

> 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?

Did you try to just "exit" the shell?
Did you try to send it a SIGTERM, SIGINT or other signal?

	Bernd
-- 
Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
                     LUGA : http://www.luga.at



More information about the busybox mailing list