[LC++]Appending to a file from Makefile

Krishna Monian k_tutorials at yahoo.com
Wed Jul 21 06:38:02 UTC 2004


I have a makefile for a kernel module. I have added an
install option that basically installs the kernel
module. However I want to append something to the
rc.local file through the Makefile so that the entire
process is automated.

How do I append a few lines to a file? Also is it
possible to remove a few lines from the file so that I
can do this in the uninstall option.

Krishna Monian

Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!

More information about the tuxCPProgramming mailing list