Tiny Core Linux

Tiny Core Base => CorePlus => Topic started by: temdl84 on September 05, 2013, 09:50:53 PM

Title: How to update /etc/motd
Post by: temdl84 on September 05, 2013, 09:50:53 PM
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 ???
Title: Re: How to update /etc/motd
Post by: Rich on September 05, 2013, 11:19:35 PM
Hi temdl84
Add:
Code: [Select]
etc/motdto your  /opt/.filetool.lst  file. Then run:
Code: [Select]
filetool.sh -b
Title: Re: How to update /etc/motd
Post by: temdl84 on September 06, 2013, 01: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,
 
Title: Re: How to update /etc/motd
Post by: Rich on September 06, 2013, 07:47:15 AM
Hi temdl84
What does the command:
Code: [Select]
showbootcodesreturn?