Skip to content

On most systems shutdown or reboot needs sudo #11

@sandrodz

Description

@sandrodz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions