Hello.
This is my first time, that I write to the mailinglist and I don`t know if you 
discuse such problems here in this list.

My problem is that I want to make an autologin.
I work with an embedded linux image on a board.
For that board I want to make an autologin, because the device which will be 
connect to the board isn`t able to enter a password or a login.

I write a shell script(mylogin):
#!/bin/sh
exec login -f root

and I edit the etc/inittab from:
console :: respawn:/sbin/getty -L 115200 /dev/ttyNX0 vt100
to
console::respawn:/sbin/getty -n -l /bin/mylogin -L 115200 /dev/ttyNX0 vt100

when I start the mylogin script in the /bin folder with ./mylogin I become this 
output:
/bin # ./mylogin
login[825]: root login  on `ttyNX0'

[EMAIL PROTECTED]:~>

but when I edit the /etc/inittab and start my board again, the bootloader and 
kernelinformation starts but then I become a black screen and every 10 seconds 
the cursor move one line down.

But my goal is, that I get such a output "[EMAIL PROTECTED]:~>" and that I can 
work with my Image.

What`s my fault?
How can I solve the problem with the black screen?

Regards

Oliver


 
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-- 
ptxdist mailing list
[email protected]

Reply via email to