LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-16-2008, 02:57 PM   #1
jmikeneedham
Member
 
Registered: Jul 2005
Location: Lawrence, Kansas USA
Distribution: openSUSE 11.1
Posts: 44

Rep: Reputation: 15
MOTD reverting to default install upon reboot


Greetings:

I installed Debian Etch a little over a month ago to serve as my web server and I decided to reboot today to assure that some settings took.

I had set the MOTD to my own custom message and after the reboot, all the settings are intact that I have made, but the MOTD reverted back to the default one that Debian has on install. I reset it to my own custom MOTD and then rebooted and it is back to the original again.

How do you keep this from happening?

Thanks,

Mike
 
Old 02-16-2008, 10:52 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,243
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
what file are you changing ?
 
Old 02-17-2008, 12:49 AM   #3
jmikeneedham
Member
 
Registered: Jul 2005
Location: Lawrence, Kansas USA
Distribution: openSUSE 11.1
Posts: 44

Original Poster
Rep: Reputation: 15
Greetings:

I have been editing /etc/motd

Thanks,

Mike
 
Old 02-17-2008, 05:50 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
I believe that you need to comment out or change a section of /etc/init.d/bootmisc.sh.

Specifically, the following section.

Code:
# Update motd
uname -snrvm > /var/run/motd
[ -f /etc/motd.tail ] && cat /etc/motd.tail >> /var/run/motd
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting two computers / Reverting to default Internet configuration fc6_user Linux - Networking 11 05-14-2007 05:21 PM
Reverting to 32 bit install? OhNoesAHause! SUSE / openSUSE 1 03-27-2005 04:18 PM
ntp.conf rewriting on reboot to install-default dfowensby Slackware 2 02-16-2005 11:01 AM
Reverting back after install chrisbhall Linux - Newbie 2 01-06-2005 08:19 AM
directory permissions reverting to default Edrin Linux - Newbie 4 11-18-2004 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration