On most systems shutdown or reboot needs sudo
sandrodz opened this issue · 1 comments
sandrodz commented
https://github.com/DeadManWalkingTO/ETHminerWatchDogDmW/blob/master/ETHminerWatchDogDmW.sh#L113
This won't work if script is run by non root user (which is the case in most cases).
On my system I do this by creating a file /etc/sudoers.d/reboot
with:
sandro ALL=NOPASSWD:/sbin/reboot
Maybe this should be mentioned in Readme?
DeadManWalkingTO commented
Yes. Thank you!