moonraker
moonraker copied to clipboard
machine.shutdown function reboot system
What happened
machine.shutdown function reboot system and not shutdown
Client
Mainsail
Browser
Chrome
How to reproduce
Just select Shutdown in Mainsail menu
Additional information
OS : Ubuntu 20.04 LTS
Already tried sudo_fix.sh without success.
Also allow user 'pi' to reboot and shutdown without password without success.
systemd-logind service is already enabled is my distrib.
shutdown -H now command correctly shutdown my system but it seem machine.shutdown doesn't load this command.
Machine.reboot working as expected.