[BusyBox] ctrl+c not working for bash

prashant waman kiranprashant at yahoo.com
Thu Aug 18 07:43:02 MDT 2005


I am using INIT version 2.78
and also i tried for 
c1:1235:respawn:-/bin/sh
which gives following error
INIT: cannot execute "-/bin/sh"
and
c1:1235:respawn:/bin/sh --login
works fine but still ctrl+c is not working.
regards,

prashant

--- Paul Fox <pgf at brightstareng.com> wrote:

>  > > prashant waman wrote:
>  > >
>  > > >Hi all,
>  > > >   my /etc/inittab contain
>  > > >
>  > > >[...]
>  > > >c1:1235:respawn:/bin/bash
>  > > >[...]
>  > > >
>  > 
>  > > Since you're posting to the busybox list, I'll
>  > > assume you're using busybox.
>  > yes i am using the busybox but the /sbin/init is
> not
>  > from busybox and is a separate file
> 
> so you're not running the busybox init?  what
> version of
> init are you running?
> 
> busybox init is the only one i know of which takes
> the
> device name from the first field of the line.  in
> most other
> inittabs, that field is simply an identifier.
> 
>  > > Your console control might be due to the fact
> that
>  > > you probably have no
>  > > /dev/c1 device, but I could be wrong.  It might
> be
>  > i think i have the /dev/c1 as if i use below line
> in inittab
>  > c1:1235:respawn:/bin/sulogin /dev/tty1
>  > it works fine. asking for password, shows the
> terminal
>  > and ctrl+c works fine.
> 
> sulogin gets the tty name as the first argument.  so
> this says
> nothing about /dev/c1 existing or not.
> 
>  > As i don't want login screen and want directly
> the
>  > shell prompt, i am searching for other
> alternatives.
> 
> someone else has pointed out that one of these
> should work:
>     c1:1235:respawn:-/bin/ash
> or 
>     c1:1235:respawn:/bin/ash --login
> 
> but again -- what version of init are you using?
> 
> paul
> =---------------------
>  paul fox, pgf at brightstareng.com
> > _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the busybox mailing list