i have the file opened and i can display it on the screen
printf("File rc.conf not open");
what I need to do is search the file for the instance of "EXT2IP" which actually reads as (#EXT2IP="192.168.1.1").
I need to find that instance, strip off the # (if exists) and then replace the IP address with an IP address I will pull from an array.
Your help is greatly appreciated.