Tiny Core Base > CorePlus

How to update /etc/motd

(1/1)

temdl84:
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 ???

Rich:
Hi temdl84
Add:

--- Code: ---etc/motd
--- End code ---
to your  /opt/.filetool.lst  file. Then run:

--- Code: ---filetool.sh -b
--- End code ---

temdl84:
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,
 

Rich:
Hi temdl84
What does the command:

--- Code: ---showbootcodes
--- End code ---
return?

Navigation

[0] Message Index

Go to full version