[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Screen blanking on logout



On Fri, Sep 06, 2002 at 02:14:02PM +0200, Raffaele Sandrini wrote:
Hi Raffaele,

[...]

> I did not find an option wich lets getty blank the screen so wich are my
> options to get that feature? write a script wich firstly runs clear and the
> getty and take that one in the inittab or do i have to use mingetty to get the
> screen blanked?
Since I'm using bash2 I normally do 
echo 'clear' >> /etc/skel/.bash_logout

But if you only want it for one local user you could just replace the
above with:
echo 'clear' >> ~/.bash_logout

.bash_logout is executed when logout is issued.

Cheers,

-- 
Ian Johannesen
Senior UNIX Consultant 
Syslogic I/S 
Ane Dams Gade 10, DK-9400 Nørresundby

cel: +45 25 21 15 51
ema: ij@syslogic.dk
msn: ij@perlpimp.dk
web: http://syslogic.dk/

Attachment: pgpZUXl4QU8_w.pgp
Description: PGP signature


Reply to: