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 [email protected] http://lists.busybox.net/mailman/listinfo/busybox
