Hi I need to add the following line to the end of a config file:
include "/configs/projectname.conf"
to a file called lighttpd.conf
I am looking into using sed to do this, but i cant work out how to only insert it if the line doesnt already exist. Is anyone able to enlighten me?
Thanks in advance,
Ben