Re: Removing the stops
Simon Fredriksson <[email protected]> Fri, 12 Dec 2003 02:08:50 +0100
| Newsgroups | gmane.linux.tomsrtbt |
|---|---|
| Message-ID | <[email protected]> |
Hi there! I've been trying to solve this all day but without any success. I copied login and login.lua to xin and xin.lua and stripped most of the code. I made sure to keep "exit(0)" thinking it might be good to leave a return-value for agetty. I changed in inittab so that TTY1 was loaded like this: tty1::respawn:/usr/bin/agetty -n -l /usr/bin/xin 38400 tty1 No success with this. I removed the other halts, so now the login is all that's in my way besides loadtime. Can't do much about that when it commes to floppies. I removed 600KB of manpages so it unpacks a (little) bit faster. //Simon Tom Oehser wrote: > > I don't do it, so I don't know exactly what combinations work. > > But, look at: > > /etc/inittab > > ::sysinit:/etc/rc.S > ::ctrlaltdel:/bin/reboot > ::shutdown:/etc/rc.0 > tty1::respawn:/usr/bin/agetty -l /usr/bin/login 38400 tty1 > tty2::respawn:/usr/bin/agetty -l /usr/bin/login 38400 tty2 > tty3::respawn:/usr/bin/agetty -l /usr/bin/login 38400 tty3 > tty4::respawn:/usr/bin/agetty -l /usr/bin/login 38400 tty4 > #::respawn:/usr/bin/nc -l -p 514 -e /usr/bin/rshd > #::respawn:/usr/bin/agetty -l /usr/bin/login -L -w -I 'ATE0Q1&D2&C1S0=1\015' 115200 ttyS1 vt100 > > What is happening to you is that you are still running agetty, > which is what gives the login prompt in the first place. > > You'll have to devise an inittab line or a replacement > login program, one or the other I guess, with something > like </dev/tty1 >/dev/tty1 2>/dev/tty1, or whatever, > again, I don't do it, and havn't tried to figure out > exactly what combinations do what, I would think it > may still be desirable maybe to use agetty with -n, > um, see "man agetty" and "man init" under tomsrtbt... > > -Tom > > On Thu, 11 Dec 2003, Simon Fredriksson wrote: > > >>Date: Thu, 11 Dec 2003 02:47:01 +0100 >>From: Simon Fredriksson <[email protected]> >>To: [email protected] >>Subject: Re: [tomsrtbt] Removing the stops >> >>Thanks for the help! >> >>I've tried for some time now to remove the login, but all it gives me is >>the loginprompt and no way to login. What do I need to alter to get it >>removed and jump straight to the terminal? >> >>//Simon >> >> >>Tom Oehser wrote: >> >> >>>Sure, look at the buildit.s script (sets the lilo parameters including >>>both the boot timeout and the video "ask") and in rc.custom.gz (has the >>>keyboard wait) and of course /etc/inittab, /etc/rc.S, /bin/login.lua. >>> >>>-Tom >>> >>>On Wed, 10 Dec 2003, Simon Fredriksson wrote: >>> >>> >>> >>>>Date: Wed, 10 Dec 2003 21:18:05 +0100 >>>>From: Simon Fredriksson <[email protected]> >>>>To: [email protected] >>>>Subject: [tomsrtbt] Removing the stops >>>> >>>> >>>>I'd like some help to remove the bootup stops. Such as the 15 seconds in >>>>LILO, 30s to select videomode and finaly, the login. Can I remove these >>>>three somehow? >>>> >>>>Thanks for your help. >>>> >>>>//Simon >>>> >>> >>> >>> >>> > > >