Closed nii-nii closed 4 years ago
right below echo 'Done!';
on the Pull command, you can add:
$SUDO reboot
Which will reboot your Pi/device.
I think I'll add the command but comment it out, so that those who want this feature can uncomment. Because there's no way to know what else might be running on a Pi-hole host, I hesitate to force a reboot by default.
Is it possible to add a script line for rebooting the pi when the pull command is finished?
I always get the API error when the pull request is finished and a reboot fixed it.
If not, just tell me where I should add the line and I will do it myself.
Thank you for taking the time to answer.