On 18:53 Wed 19 Sep , Sascha Hauer wrote: > On Wed, Sep 19, 2012 at 11:50:35AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > so we can have splah, usb serial, etc... > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> > > --- > > defaultenv-2/base/bin/init | 8 +++----- > > 1 file changed, 3 insertions(+), 5 deletions(-) > > > > diff --git a/defaultenv-2/base/bin/init b/defaultenv-2/base/bin/init > > index 3cac41c..5524710 100644 > > --- a/defaultenv-2/base/bin/init > > +++ b/defaultenv-2/base/bin/init > > @@ -12,7 +12,9 @@ global linux.bootargs.dyn.ip > > global linux.bootargs.dyn.root > > global editcmd=sedit > > > > -/env/init/general > > +for i in /env/init/*; do > > + . $i > > +done > > > > if [ -e /env/menu ]; then > > echo -e -n "\nHit m for menu or any other key to stop autoboot: " > > @@ -27,10 +29,6 @@ if [ "${key}" = "q" ]; then > > exit > > fi > > > > -for i in /env/init/*; do > > - . $i > > -done > > - > > This was intentionally done *after* waiting for user intervention to be > able to escape in case some init script crashes barebox. yeah but we need splash before timeout and I do not what to hack the init so can do a pseudo rc.d /etc/init/pre /etc/init/post so we can have some before some after timeout Best Regards, J. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox