Other Help Topics :: refactoring motd
Must be doing something wrong but it totally escapes me.
I am wanting to add some additional text to mtod message on DSL startup (additional waver etc) so decided to try hand at refactoring.
I have a small dev system consisting of embedded pc with frugal install on hard disk and compact flash (also frugal install) and am able to boot with either of these.
I booted from hard disk and copied contents of /KNOPPIX/* to source directory on spare partition on hard disk. I then created new compressed KNOPPIX using
mkisofs -R source | create_compressed_fs – 65536 > newcd/KNOPPIX/KNOPPIX
I then mounted my cf cards hdc1 partition and replaced /KNOPPIX/KNOPPIX with this new custom compressed image file.
But during boot the original motd still comes up and when viewing /etc/motd I still see original file and not my modified file.
Any ideas/suggestions as I am sure this should work but am obviously not seeing the wood for the trees.
Colin
I found two motd's. One under /KNOPPIX/KNOPPIX compressed file and one under startup filesystem minirt24.gz
Updating one in minirt24.gz solved the problem and I now have my additional waver.
original here.