Thanks for the reply. Yes, I tried adding a line to start the script in start-services but doesn't start at boot. Also tried adding @reboot option in crontab.
Hi all, I have been making a script so DNS Filtering is turned on/off depending on pihole being up/down. That way if I reboot my server the router automatically disables DNS Filtering and the other devices are able to resolve DNS.
At first I wrote it in C, but I haven't been able to compile it...