I have replaced "1:2345:respawn:/sbin/mingetty tty1" with "1:2345:respawn:/bin/sh" in my inittab file,but it still don't support network.Then I replaced "1:wait:/etc/rc.d/rc 1" with "1:wait:/etc/rc.d/rc 3" ,and it is ok-- signle mode support network . George Fouse <[EMAIL PROTECTED] 宛先: et> [EMAIL PROTECTED] 送信者: cc: [EMAIL PROTECTED] owner-linux-embedded 件名: Re: Init.... @waste.org 01-02-04 00:35 George Fouse <[EMAIL PROTECTED] et> へ返信してくださ い One simple & dirty way to do this is, in inittab, go to the section for running gettys in the standard runlevels, and replace (something like) "1:2345:respawn:/sbin/mingetty tty1" with "1:2345:respawn:/bin/sh" This will give you a simple shell (for example) in virtual terminal session 1. If that's the only virtual terminal session you want, remove or comment out reference to the others. "Quick 'n Dirty" but may suffice for your stated needs. George On Sat, 3 Feb 2001 [EMAIL PROTECTED] wrote: > Date: Sat, 3 Feb 2001 08:56:01 +0800 > From: [EMAIL PROTECTED] > To: Chris Ellec <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: Init.... > > > There aren't network serve and orther serve in single mode.If I want to > able network serve in my embeed application ,how can I do to meet two > conditions ,one is without run login screen the orther is have network > serve. > > > > Chris Ellec > <[EMAIL PROTECTED] To: PYT PYT > om> <[EMAIL PROTECTED]> > Sent by: cc: [EMAIL PROTECTED] > owner-linux-embedded Subject: Re: Init.... > @waste.org > > > 01-02-03 00:10 > > > > > > > PYT PYT wrote: > > > > Hi ! > > I would like to know how to boot my embedded linux in single user > mode.... (without run the login > > scxreen...) > > My system is a redhat based system.... > > > > Look in /etc/inittab for the line that has something like > > :3:initdefault: > > This is the initial run level. You may have 3 (console mode) or 5 (X > mode) by default. Change it to 1 for single user mode. > > > Chris. -- George Fouse, President <[EMAIL PROTECTED]> Quantum Technology Associates www.quantumtek.net -- To unsubscribe from this list, send a message to [EMAIL PROTECTED] with the command "unsubscribe linux-embedded" in the message body. For more information, see <http://waste.org/mail/linux-embedded>. -- To unsubscribe from this list, send a message to [EMAIL PROTECTED] with the command "unsubscribe linux-embedded" in the message body. For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to