It sounds like you are still starting using /etc/inittab runlevel 
1.  The suggestion to use /bin/sh instead of /sbin/mingetty is intended 
to work with inittab runlevel 3 (normal configuration).  You are better 
off using inittab init level 3, the /bin/sh change, and leaving the 
"1:wait:/etc/rc.d/rc 1" unchanged.  This allows you to go to single 
user mode, if necessary, without all the extra stuff that runlevel 3 
bring along in case you have to recover a system.  Besides, it is fewer 
changes and cleaner.

gvb


At 08:27 AM 2/5/01 +0800, [EMAIL PROTECTED] wrote:

>     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 .

[snip]

>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




--
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