[LC++]Appending to a file from Makefile

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


Hi, 

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.

Thanks
Krishna Monian


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail




More information about the tuxCPProgramming mailing list