Works perfectly thanks. Very happy. Working with readonly files so need to open vi with sudo and save with :wq!
Thanks very much for this. I’ll give it a go tonight.
Another vote here please. At this stage I’ll need to purchase another pi just for pi hole.
https://discourse.pi-hole.net/t/max2play-on-rpi-doesnt-like-pi-hole/370/9
Max2Play free download