VectorLinux
October 25, 2014, 12:41:26 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: How is /etc/issue generated?  (Read 1253 times)
toothandnail
Tester
Vectorian
****
Posts: 2527


« on: May 25, 2008, 11:40:21 am »

Possibly a silly question. I want to customize the console login prompt, which appears to be produced by the file /etc/issue. However, if I move or rename the file, it is regenerated. So, can anyone tell me where it is produced so I can make changes there?

paul.
Logged
bigpaws
Vectorian
****
Posts: 1856


« Reply #1 on: May 25, 2008, 01:40:40 pm »

Look at /etc/profile

Bigpaws
Logged
toothandnail
Tester
Vectorian
****
Posts: 2527


« Reply #2 on: May 26, 2008, 05:05:20 am »

Look at /etc/profile

 Grin If its there, its well concealed. I've had a look through all the scripts in /etc/profile.d, plus everywhere else I can think of. Not found it so far....

paul
Logged
uelsk8s
Administrator
Vectorian
*****
Posts: 2504



« Reply #3 on: May 26, 2008, 08:13:44 am »

it is generated in /etc/rc.d/rc.local
Code:
# Setting up Linux logo text
if [ "$INSTALL_DATE" ]; then
   linux_logo -c -t "Operating since $INSTALL_DATE" > /etc/issue
else
   linux_logo -c -t "Brought to you by Vector-Linux" > /etc/issue
fi
Logged
toothandnail
Tester
Vectorian
****
Posts: 2527


« Reply #4 on: May 26, 2008, 10:35:19 am »

it is generated in /etc/rc.d/rc.local
Code:
# Setting up Linux logo text
if [ "$INSTALL_DATE" ]; then
   linux_logo -c -t "Operating since $INSTALL_DATE" > /etc/issue
else
   linux_logo -c -t "Brought to you by Vector-Linux" > /etc/issue
fi

Great, thanks. I would never have spotted that.

paul
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!