Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-07-02 Thread Gilles
On Fri, 01 Jul 2011 08:41:24 +0100, Ed W wrote: >You get this error message when you run some script which a shebang that >points to (say) bash (#!/bin/bash). Thanks for the tip, but it was due to my using simpleinit instead of Busybox's init. Reboot etc. work fine now. _

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-07-02 Thread Denys Vlasenko
On Friday 01 July 2011 11:10, Ralf Friedl wrote: > Ed W wrote: > > On 30/06/2011 16:19, Gilles wrote: > > > >> However when I run /bin/reboot, I get this: > >> > >> root:/bin> ./reboot > >> reboot: No such file or directory > >> > >> > > > > I might be on t

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-07-01 Thread Ralf Friedl
Ed W wrote: On 30/06/2011 16:19, Gilles wrote: However when I run /bin/reboot, I get this: root:/bin> ./reboot reboot: No such file or directory I might be on the wrong track, but just a heads up: You get this error message when you run some script wh

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-07-01 Thread walter harms
Am 01.07.2011 09:41, schrieb Ed W: > On 30/06/2011 16:19, Gilles wrote: >> However when I run /bin/reboot, I get this: >> >> root:/bin> ./reboot >> reboot: No such file or directory >> > > I might be on the wrong track, but just a heads up: > > You get this err

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-07-01 Thread Ed W
On 30/06/2011 16:19, Gilles wrote: > However when I run /bin/reboot, I get this: > > root:/bin> ./reboot > reboot: No such file or directory > I might be on the wrong track, but just a heads up: You get this error message when you run some script which a shebang

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Gilles
On Thu, 30 Jun 2011 18:46:28 +0200, Gilles wrote: >Thanks, that did it. Busybox's "reboot" does indeed unmount, which I find safer than depending on "reboot" calling sync(): = root:~> which reboot /sbin/reboot root:~> reboot root:~> UBIFS: un-mount UBI device 0, volume 0 The system i

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Gilles
On Thu, 30 Jun 2011 11:48:53 -0400, Mike Frysinger wrote: >this is the busybox inittab i use in buildroot: Thanks, that did it. ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Mike Frysinger
On Thu, Jun 30, 2011 at 11:46, Gilles wrote: > On Thu, 30 Jun 2011 11:38:03 -0400, Mike Frysinger wrote: >>pretty sure that the reboot that is part of the busybox you're using >>does not work with the simpleinit that is enabled by default with >>uclinux-dist.  you'll probably also have to switch to

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Gilles
On Thu, 30 Jun 2011 11:38:03 -0400, Mike Frysinger wrote: >pretty sure that the reboot that is part of the busybox you're using >does not work with the simpleinit that is enabled by default with >uclinux-dist. you'll probably also have to switch to the busybox >init. Indeed, I left the original

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Mike Frysinger
On Thu, Jun 30, 2011 at 11:19, Gilles wrote: > I recompiled Busybox to include reboot + poweroff + shutdown, pretty sure that the reboot that is part of the busybox you're using does not work with the simpleinit that is enabled by default with uclinux-dist. you'll probably also have to switch to

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Gilles
On Thu, 30 Jun 2011 17:33:11 +0200, walter harms wrote: >Does "busybox reboot" work ? No, although it's supposed to be part of the binary: root:/bin> busybox reboot reboot: No such file or directory root:/bin> busybox BusyBox v1.16.2 (2011-06-30 17:00:37 CEST) multi-call binary. Copyright (C) 1

Re: [1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread walter harms
Does "busybox reboot" work ? re, wh Am 30.06.2011 17:19, schrieb Gilles: > Hello > > I recompiled Busybox to include reboot + poweroff + shutdown, > downloaded it in a uClinux appliance before moving it to /bin > (replacing the previous version) and adding the symlinks: > > roo

[1.16.2] "reboot" -> "No such file or directory"?

2011-06-30 Thread Gilles
Hello I recompiled Busybox to include reboot + poweroff + shutdown, downloaded it in a uClinux appliance before moving it to /bin (replacing the previous version) and adding the symlinks: root:/bin> ls -al reboot lrwxrwxrwx1 root root 7 Dec 31 16:03 reboot -> b