[BusyBox] shell prompt without login

Erik Andersen andersen at codepoet.org
Wed May 26 08:46:49 UTC 2004


On Wed May 26, 2004 at 01:58:48PM +0530, Kanagesh wrote:
> Hi,
> 
> I am working with busybox-1.00-pre10 on an ARM board.
> I don't want a login after boot up, just the shell prompt.  I
> went through the usage for getty and noticed that it had a
> '-n' switch, which when given would not prompt the user
> for a login.
> 
> However, the login prompt appears with this switch enabled.
> I did also notice that earlier versions of busybox that I worked
> with (0.60.5) did not have getty and was picked up from
> tinylogin.  These versions did not have the -n switch.  Has
> anyone found the -n switch to getty working fine in
> busybox-1.00-pre10?
> 
> I start getty in my inittab file as follows:
> 
> null::respawn:/sbin/getty -n -L ttySA0 115200 vt100


Try this:

::respawn:/sbin/getty -n -L ttySA0 115200 vt100 -n -l /bin/sh


 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the busybox mailing list