Skip to content
New issue

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

Raspberry Pi 4 (Ubuntu 20.04) rebooting instead of shutting down when POWER button is pressed. #125

Open
jungeisen opened this issue Sep 15, 2021 · 0 comments

Comments

@jungeisen
Copy link

Issue:
The Raspberry Pi reboots when the shutdown button is pressed.

Solution:
sudo nano /opt/RetroFlag/SafeShutdown.py
line 31 (Section "poweroff"):
change os.system("sudo shutdown -r now") to os.system("sudo shutdown -h now")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant