We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can't poweroff from cnc.js.
The text was updated successfully, but these errors were encountered:
You can add these via the Settings -> Commands feature in cncjs.
Example: title: Reboot commands: sudo reboot
Sorry, something went wrong.
Just needs to add to the .cncrc. I will add a PR for this once the other PR is merged.
, "commands": [ { "title": "Reboot", "commands": "sudo shutdown -r now" }, { "title": "Shutdown", "commands": "sudo shutdown -h now" } ]
It uses the Octopi commands which have been added to /etc/sudoers.d so it all just happily works.
/etc/sudoers.d
I have tested this. It also works if the Pi user has a password set.
jeffeb3
No branches or pull requests
You can't poweroff from cnc.js.
The text was updated successfully, but these errors were encountered: