[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] reboot and poweroff don 't seem to work!
From:       Brett Hunt <bhunt () myrealbox ! com>
Date:       2004-06-24 14:30:13
Message-ID: 40DAE575.9000604 () myrealbox ! com
[Download RAW message or body]

pantelis@intelligence.tuc.gr wrote:
> Package: busybox
> Version: 1.00pre10

same here.

> Hi!
> 
> I use busybox in a small distribution for an old 386sx25 with 4Mb RAM, both
> in an install/rescue disk (configured with initrd/linuxrc support) and in
> the final system (without initrd).
> 
> In both versions, I can 't get reboot and poweroff to work. Wondering
> through the code, I see that with my configuration, both just signal init,
> i.e. reboot does a kill -TERM 1 and poweroff a kill -USR2 1.
> 
> The problem is that if I do a "ps" (in both versions - with and without
> linuxrc!) I get two "init" processes, one with pid 1 (of course) and
> one with pid 17 (!!). From these, only the latter responds to TERM and USR2
> signals (or any other signal).
> 
snip...
> Is this correct, or am I simply doing something wrong?

I think you might have something misconfigured.  I have busybox running and there is \
only one init process and shutdown  and reboot work fine.  What do your startup \
scripts look like?

Brett



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic