For starters I'd file a bug against pihole so they support both doas and sudo or drop them altogether and make you use either sudo or doas when executing the script. A hard dependency on sudo is really weird imho.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments