init and reboot

Rob Landley rob at landley.net
Sat Jul 15 23:35:30 PDT 2006


On Sunday 16 July 2006 12:51 am, Lei Sun wrote:
> Hi all:
>   I compiled busybox-1.2.0 for my PPC board (mpc8275). I used
> busybox's init function. But I can't seem to get reboot work. nothing
> happened after typing "reboot" or "halt" or "poweroff".
>   Another weird thing is "mount" doesn't show anything. Although there
> are file system mounted such as "proc".
>   I tried using sysvinit package with no luck, couldn't even get login
> console because it failed to run the init script , for some reason.
>   Anyway, can any one shed some lights on me ? How to make the reboot work?

Which kernel are you using?

If you build init, busybox will try to reboot/halt/poweroff by signaling init 
to do it, unless you supply the -f option.

Try ./busybox reboot --help

Rob
-- 
Never bet against the cheap plastic solution.


More information about the busybox mailing list