OctoPrint-TFT
OctoPrint-TFT copied to clipboard
Add shutdown to System menu?
I see that you have a "reboot" button in the System menu - can you also add a "shutdown" button?
I also don't think the "reboot" button does a reboot as cleanly as what's built into OctoPrint? I think both the reboot and shutdown buttons should look for commands defined in the "server:" portion of the config.yaml (as shown below)
server:
commands:
serverRestartCommand: sudo service octoprint restart
systemRestartCommand: sudo shutdown -r now
systemShutdownCommand: sudo shutdown -h now
The reboot button, its exactly systemRestartCommand, but yes, we can add it without problem.
Shutdown button would be great. I was looking at this but don't know how to create a button or place it on the screen in the right spot.