Quote:
Originally Posted by CollieJim
In the past the screen has not been cleared before displaying /etc/issue and the initial login prompt. I like that because sometimes errors and warnings are displayed that do not appear in any logfile.
Recently one of my 2 machines (probably the one I changed to baselayout 2) has started clearing the screen. Not good.
What do I need to change to prevent clearing?
Thanks
Jim
|
This is the new default behavior in agetty. You can add --noclear in TERMINALS
section of /etc/inittab to avoid it.
Here's how that section should look to get the old behavior of not clearing:
Code:
# TERMINALS
c1:12345:respawn:/sbin/agetty --noclear 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
It was in the post install message of sys-apps/util-linux-2.20.1-r1 - 02/27/2012
Code:
LOG: postinst │
│The agetty util now clears the terminal by default. You │
│might want to add --noclear to your /etc/inittab lines.
Hope that gets you all fixed up.