WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to update /etc/motd  (Read 3470 times)

Offline temdl84

  • Newbie
  • *
  • Posts: 2
How to update /etc/motd
« on: September 06, 2013, 12:50:53 AM »
Hi All,

I want to update /etc/motd banner. but it's allways restored after reboot.

I tried to add it to backup and make backup dry and backup also, but it's still restored after reboot.

So how can i update /etc/motd ???

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to update /etc/motd
« Reply #1 on: September 06, 2013, 02:19:35 AM »
Hi temdl84
Add:
Code: [Select]
etc/motdto your  /opt/.filetool.lst  file. Then run:
Code: [Select]
filetool.sh -b

Offline temdl84

  • Newbie
  • *
  • Posts: 2
Re: How to update /etc/motd
« Reply #2 on: September 06, 2013, 04:55:06 AM »
Hi Rich,

I have tried but it's not applied after reboot.

my step:
1. add "etc/motd" to /opt.filetool.lst.
2. run filetool.sh -b
-> in this step, mydata.tgz is created at /mnt/sda1/tce
I untar and check mydata.tgz, the etc/motd in mydata.tgz contains the latest content.

as my understood, when system boots, system will restored from mydata.tgz. but in my system, it's not restored from mydata.tgz right????

Regards,
 

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11618
Re: How to update /etc/motd
« Reply #3 on: September 06, 2013, 10:47:15 AM »
Hi temdl84
What does the command:
Code: [Select]
showbootcodesreturn?