Fix Shutdown button in Mainsail - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki
Shutdown button in Mainsail only restarts the Speeder Pad because some distros don't support poweroff function and this is the case for the Ubuntu Operating System.
-
To correct this, in the SSH command prompt window, enter the following commands (one at time):
cd ~/moonraker/scripts./set-policykit-rules.shsudo reboot -
After reboot, go to your Mainsail Web interface then select the
Machinetab. -
Open the
moonraker.conffile and add the following lines:[machine] shutdown_action: halt -
Once done, click on
SAVE & RESTARTat the top right to save the file. -
The Shutdown button now properly shuts off the Pad.