[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: calling reboot in script does nothing
From: Peter Scheie <peter.scheie () visionshareinc ! com>
Date: 2010-10-27 1:14:24
Message-ID: 1288142064.7984.8.camel () pscheie-ubuntu910
[Download RAW message or body]
On Tue, 2010-10-26 at 16:57 -0500, Dan Fandrich wrote:
> On Tue, Oct 26, 2010 at 04:44:48PM -0500, Peter Scheie wrote:
> > I'm using busybox 1.17.2 in an initramfs. In my init script (/init) if
> > a certain test fails, it calls reboot. But when it does, nothing
> > happens. The init script ends with a prompt, and if I manually call
> > reboot, it works. Here's the relevant code:
> [...]
> > Any idea why reboot doesn't seem to want to work within my script?
>
> If you don't have a real init listening for reboot, then you need to
> use "reboot -f" to force it to make the system call itself.
>
> >>> Dan
That worked. Thanks.
Peter
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic