VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: How is /etc/issue generated?  (Read 1461 times)

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
How is /etc/issue generated?
« on: May 25, 2008, 12:40:21 pm »

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: 1871
Re: How is /etc/issue generated?
« Reply #1 on: May 25, 2008, 02:40:40 pm »

Look at /etc/profile

Bigpaws
Logged

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: How is /etc/issue generated?
« Reply #2 on: May 26, 2008, 06:05:20 am »

Look at /etc/profile

 ;D 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
Re: How is /etc/issue generated?
« Reply #3 on: May 26, 2008, 09:13:44 am »

it is generated in /etc/rc.d/rc.local
Code: [Select]
# 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
Re: How is /etc/issue generated?
« Reply #4 on: May 26, 2008, 11:35:19 am »

it is generated in /etc/rc.d/rc.local
Code: [Select]
# 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