Any Software solutions for graceful shutdown?
Posted: Mon Sep 05, 2016 2:46 pm
Hi,
Finally close to starting my build, just waiting for Helder's all in one board to arrive soon.
I was thinking on how to solve the graceful shutdown problem, and was perhaps naively thinking, isnt the problem just not being able to initiate the system shutdown command prior to cutting the power? IF thats the case, couldn't we program the micro controller to listen for holding down one of the buttons for an extended period of time (5 seconds or so) and then trigger sudo shutdown now, followed by us flicking the switch to cut power after a few seconds?
Cheers,
Nick
Finally close to starting my build, just waiting for Helder's all in one board to arrive soon.
I was thinking on how to solve the graceful shutdown problem, and was perhaps naively thinking, isnt the problem just not being able to initiate the system shutdown command prior to cutting the power? IF thats the case, couldn't we program the micro controller to listen for holding down one of the buttons for an extended period of time (5 seconds or so) and then trigger sudo shutdown now, followed by us flicking the switch to cut power after a few seconds?
Cheers,
Nick