diff --git a/recalbox_SafeShutdown.py b/recalbox_SafeShutdown.py index 2416607..6741b80 100644 --- a/recalbox_SafeShutdown.py +++ b/recalbox_SafeShutdown.py @@ -24,7 +24,7 @@ def poweroff(): while True: #self.assertEqual(GPIO.input(powerPin), GPIO.LOW) GPIO.wait_for_edge(powerPin, GPIO.FALLING) - os.system("shutdown -r now") + os.system("shutdown -h now") # -r reboot , -h halt #blinks the LED to signal button being pushed def ledBlink():