LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-27-2004, 02:28 PM   #1
Nerox
Member
 
Registered: Jul 2004
Location: Spain
Posts: 111

Rep: Reputation: 20
Which script overwrites /ect/motd?


I noticed /etc/motd is overwritten every time i reboot the system, and i would like to know which script is doing that in order to do away with it.
 
Old 12-27-2004, 03:36 PM   #2
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
Probably rc.local!!! Which Linux distro you are using since it could be at different place in /etc...

y2k
 
Old 12-27-2004, 05:22 PM   #3
Nerox
Member
 
Registered: Jul 2004
Location: Spain
Posts: 111

Original Poster
Rep: Reputation: 20
I'm using Debian Woody 3.0 r2. Where should i look at?
 
Old 12-28-2004, 12:30 PM   #4
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
If you don't know where it is, you can always use find to look for it,

cd /etc
find . -name rc.local -print

Maybe it's my system (Sid) but I don't have rc.local at all... In that case, look in /etc/init.d to see which one overwrites your /etc/motd!

y2k
 
Old 12-28-2004, 05:03 PM   #5
kostian
Member
 
Registered: Jul 2004
Location: LT
Posts: 150

Rep: Reputation: 15
/etc/init.d/bootmisc.sh
 
Old 12-29-2004, 04:26 AM   #6
Nerox
Member
 
Registered: Jul 2004
Location: Spain
Posts: 111

Original Poster
Rep: Reputation: 20
Thanks, it's in /etc/init.d/bootmisc.sh.

y2k: my system don't have rc.local, either. I think it is only for RedHat-based systems like Mandrake, the proper RedHat, and so on.
 
Old 12-29-2004, 03:25 PM   #7
y2k
Member
 
Registered: May 2004
Location: Somewhere over there!!!
Distribution: Too many to list here...
Posts: 93

Rep: Reputation: 15
yes, /etc/init.d/bootmisc.sh is the one for Debian system... I was about to post it after scanning thru /etc/init.d until I saw a message from kostian. No need to post it then since he already beat me to it.

y2k
 
  


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
mkfs overwrites RAID partitions erick_el_rojo Linux - General 0 05-02-2005 12:07 PM
mkfs overwrites RAID partition table erick_el_rojo Linux - Enterprise 0 05-02-2005 12:06 PM
GRUB overwrites my changes mehlkelm Linux - Software 2 11-16-2004 04:12 AM
motd script or something like that linuxtesting2 Linux - General 2 06-09-2004 03:13 PM
Is there any MOTD software available besides /etc/motd? csif Linux - Software 1 04-24-2004 07:36 AM

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

All times are GMT -5. The time now is 12:11 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