Fwd: agetty not show username as I input on a serial term

2011-09-26 Thread xinglp
-- Forwarded message -- From: Karel Zak Date: Mon, Sep 26, 2011 at 6:52 PM Subject: Re: agetty not show username as I input on a serial term To: xinglp Cc: util-li...@vger.kernel.org On Fri, Sep 02, 2011 at 02:26:17PM +0800, xinglp wrote: > When I  login  on a serial term,  I ty

Re: Fwd: agetty not show username as I input on a serial term

2011-09-26 Thread Bruce Dubbs
See if this works as well: sed -i -e 's/(ECHO)/ECHO/' term-utils/agetty.c -- Bruce xinglp wrote: > -- Forwarded message -- > From: Karel Zak > Date: Mon, Sep 26, 2011 at 6:52 PM > Subject: Re: agetty not show username as I input on a serial term > To: xinglp > Cc: util-li..

Re: /etc/init.d/modules never load modules ?

2011-09-26 Thread Bruce Dubbs
xinglp wrote: > 在 2011年9月26日 上午4:56,Bruce Dubbs > 写道: >> xinglp wrote: >>> /etc/init.d/modules line 38 >>> >>> [ $(egrep -qv '^($|#)' /etc/sysconfig/modules) ] || exit 0 >>> >>> it always does a 'exit 0' >> Yes, it looks like it should be: >> >> [ ! $(egrep -qv '^($|#)' /etc/s