Hello everyone I am using Mint since a couple of month and I have some experience with bash scripting.
As you may know, /etc/rc.local ends with "exit 0". My challenge is to use a script that read rc.local and find where is "exit 0", then create a new line over it and put the code I want to be executed, saves the file and continue my script.
Do you think it is possible to create a script that would do this? How to do it?
Thanks for your help!