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

Re: clear screen on logout

Karl Ferguson wrote:
> At 12:32 PM 29/04/97 -0400, Jens B. Jorgensen wrote:
> >mgetty, agetty & mingetty use /etc/issue (by default, though this
> >is of course configurable for mgetty and agetty) rather than motd.
> >(I wonder what uses /etc/motd?) So, you can run (as root, of course):
> >
> >clear >> /etc/issue
> >
> >(no need to save original issue, as ">>" appends to the file rather
> >than writing over it).
> This won't work right - >> appends to the end of the file and what'll
> happen is that the issue will spit out and then clear with "name login: "

Ah yes, very important! Rather:

(clear; cat /etc/issue) > /etc/issue.new ; mv /etc/issue.new /etc/issue

Jens B. Jorgensen

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: