[BusyBox] Start order

Robert Schwebel robert at schwebel.de
Sat Oct 12 06:36:05 UTC 2002


Hi, 

I have a question concerning the start order of the things done in
busybox' inittab file. It looks like this: 

----------8<----------
::sysinit:/bin/mount -a 
::sysinit:/usr/bin/yes | /sbin/e2fsck /dev/ide/host0/bus0/target0/lun0/part1
::sysinit:/bin/echo 
::sysinit:/etc/init.d/root-remount
::sysinit:/sbin/syslogd
::sysinit:/sbin/ifconfig eth0 192.168.1.54 up

# Start userland network services 
::respawn:/sbin/utelnetd

# Start an "askfirst" shell on the console
::askfirst:-/bin/sh

# Stuff to do before rebooting
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
----------8<----------

Now, when I start the system I get this: 

----------8<----------
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 60k freed
init started:  BusyBox v0.61.pre-ptx2 (2002.10.12-09:40+0000) multi-call
binary
e2fsck 1.29 (24-Sep-2002)
e2fsck: need 
remounting root filesystem read/write...
done.

Please press Enter to activate this console. telnetd: starting
  port: 23; interface: any; login program: /bin/login
Jan  1 00:23:08 192 syslog.info syslogd started: BusyBox v0.61.pre-ptx2 (2002.10.12-09:40+0000)
----------8<----------

Is there a way to start the askfirst shell as the latest instance, so
that the messages are not messed up? 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
   Hall 5, Booth 154 +++ Please contact us for details.



More information about the busybox mailing list