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.sh
sudo reboot
-
After reboot, go to your Mainsail Web interface then select the
Machine
tab. -
Open the
moonraker.conf
file and add the following lines:[machine] shutdown_action: halt
-
Once done, click on
SAVE & RESTART
at the top right to save the file. -
The Shutdown button now properly shuts off the Pad.