OnionUI / Onion

OS overhaul for Miyoo Mini and Mini+
https://onionui.github.io
GNU General Public License v3.0
3.16k stars 190 forks source link

Skip keymon's force shutdown if runtime is already shutting down #1579

Closed Aemiii91 closed 1 month ago

Aemiii91 commented 1 month ago

Keymon would force shutdown 30s after pressing the power button, and this would interrupt any scripts running during shutdown. This changes the keymon logic to skip the force shutdown, if the device is already in the process of shutting down.