refactoring motdForum: Other Help Topics Topic: refactoring motd started by: colinbes Posted by colinbes on Oct. 20 2006,02:19
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 Posted by colinbes on Oct. 23 2006,00:16
I found two motd's. One under /KNOPPIX/KNOPPIX compressed file and one under startup filesystem minirt24.gzUpdating one in minirt24.gz solved the problem and I now have my additional waver. |