Forum Discussion
Altera_Forum
Honored Contributor
16 years agoinitramfs problem: can't replace motd
Let me ask a really dumb question... Why can't I replace the /etc/motd file with my own? I'm using pretty much the default kernel and app config of uClinux which means all the files in uCl...
Altera_Forum
Honored Contributor
16 years agoeltoddo,
You might be better off by changing the last line of your board's "rc" script to call your own program instead of "motd". The nios2 "rc" script is located in the .../nios2-linux/uClinux-dist/vendors/Altera/nios2 directory. The last line reads "cat /etc/motd". Good Huntin' cb