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 for my router (AC3200), then I decided to re-write it in Python and it runs fine but I'm not able to make it start at boot. Anyone that can point me in the right direction? I tried putting the script in /jffs/scripts with the right permissions but doesn't run. Also I have been searching this forum and google but couldn't find an answer.
Thanks!
At first I wrote it in C, but I haven't been able to compile it for my router (AC3200), then I decided to re-write it in Python and it runs fine but I'm not able to make it start at boot. Anyone that can point me in the right direction? I tried putting the script in /jffs/scripts with the right permissions but doesn't run. Also I have been searching this forum and google but couldn't find an answer.
Thanks!