RetroFlag / retroflag-picase

RetroFlag Pi-Case Safe Shutdown
MIT License
716 stars 231 forks source link

GPi Safe shutdown script doesn’t trigger #82

Open runningdemon opened 4 years ago

runningdemon commented 4 years ago

In the Retroflag GPi I have gone and installed and have everything working with the exception of the safe shutdown script.

I have gone and installed it, but when I flip the on/off on the GPi, it just sits there in the off position and never triggers the script.

Any ideas on how to fix it?

oskich commented 4 years ago

It didn't work for me either - had to edit the shutdown command to get it working(Retropie 4.6):

/opt//RetroFlag\/SafeShutdown.py

os.system("sudo killall emulationstation && sleep 5s && sudo shutdown -h now"

I removed this, and then it started working:

killall emulationstation && sleep 5s &&

ds17f commented 4 years ago

A more robust solution can be found in my PR: #84

3wcircus commented 4 years ago

None of these solutions worked for me. When starts booting OS led turns off and buttons do nothing even with mods above. thanks