[BusyBox] Ctrl-C doesn't work.

Steven Scholz steven.scholz at imc-berlin.de
Fri Oct 18 05:03:03 UTC 2002


Thnaks for your help!


"Vladimir N. Oleynik" wrote:
> 
> Please test init.c from attach.
> If haven`t getty, you can emulate this as
> ttyS0::askfirst:/bin/sh < /dev/ttyS0 > /dev/ttyS0 2>&1
> or get this port for busybox-0.60-"stable" from my ftp

I had the lines
------------------
# /bin/sh invocations on selected ttys
#
# Must be first 'respawn' entries to avoid ^C problem
# Start a shell on the console
::respawn:-/bin/sh
# Start an "askfirst" shell on /dev/ttyS1
#ttyS0::askfirst:-/bin/sh
------------------
in my /etc/inittab.

Apparently using

ttyS0::askfirst:-/bin/sh

instead of

::respawn:-/bin/sh

helped!?!?
I am using the official Version 0.60.4.
So the extra trick with "< /dev/ttyS0 > /dev/ttyS0 2>&1" is not needed on my
system...

Thanks again!

Steven



More information about the busybox mailing list