Android3000 Posted May 2, 2019 Share Posted May 2, 2019 Hi, I guess this question depends on knowing the OPi Lite hardware reset button capabilities before being able to answer the following question. but here goes: Does anyone know if the OPi Lite button can be scripted/coded to not only execute a shutdown or reboot command but to do both? So, say, a single short press would gracefully reboot the OS while a long press (hold for, say, 4 seconds) would perform a shutdown? Thanks! Link to comment Share on other sites More sharing options...
Android3000 Posted May 2, 2019 Author Share Posted May 2, 2019 Ah, looks like others looked into the same functionality already as I just found this post from 25th April 2018: Orange PI PC - How to use GPIO for push buttons : Tutorial Link to comment Share on other sites More sharing options...
Recommended Posts