Quote:
Originally Posted by Shaggy
The changes required to sysd are pretty simple. I wouldn't modify any of the existing functions, but clone one that will only be called by the new userShutdown. That way any existing code that is using sysd shouldn't be effected.
|
The other reason I'm leaning this way is that, in my mind, calling it from a link on the SD card is only a first step. The goal I have in mind is to have the power switch configurable between the long press either doing a restart or a shutdown.