01-29-2021, 12:28 PM
With @TookaFace approach the line is replaced and so there would not be a need to rewrite anything after it. Custom lines would be preserved. I'll have to check a few other parts of the code that manipulate config.txt but I think this should work.