LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-04-2004, 02:48 PM   #1
Huddlebum
Member
 
Registered: Nov 2003
Distribution: RedHat 9.0
Posts: 45

Rep: Reputation: 15
How do I change my distribution's idle terminal message?


I'm sorry if that's not a very specific title, but I don't exactly know how to explain it. You know how after the system is finished booting, it shows a message at the login prompt? I know in Red Hat, it clears the screen and says "Red Hat Linux, release 9 (Shrike)" and then the kernel version, and then $HOSTNAME login:_ , but in Slackware and Gentoo (the distribution I'm currently trying), it doesn't clear the screen and only gives a couple of lines, plus the time the terminal was started.

How would I change it so that Gentoo will clear the screen after boot/logout as well?

Thanks for your help.
 
Old 04-04-2004, 06:11 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Add /usr/bin/clear as the last line to rc.local,
and clear in everyones .bash_logout?


Cheers,
Tink
 
Old 12-07-2004, 06:23 PM   #3
clinger
LQ Newbie
 
Registered: Mar 2004
Location: MT - USA
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
Most GNU/Linux distros have an initialization script called rc.local. This script will be executed after all other init scripts. It will be run by the system at the end of the boot process. This allows to add certain programs so they can be executed at boot time after all system services are started.

Gentoo Linux does not provide such a file. Instead their is an equivalent script called /etc/conf.d/local.start where you can put all the initialization stuff. Gentoo also provides an /etc/conf.d/local.stop script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return message to particular terminal console? lewkh Linux - Software 1 04-28-2005 05:01 PM
Change Welcome Message Zebe Suse/Novell 1 03-25-2005 10:21 PM
Displaying a message on terminal roland_andrey Linux - General 4 01-10-2005 04:53 PM
how to change fonts in IDLE in MDK9.1 kevinqian Mandriva 0 10-30-2003 09:09 PM
change welcome message syphon00 Linux - Networking 14 09-06-2002 11:55 AM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration