View Single Post
Old 04-30-2010, 11:00 AM   #14
Shaggy
Wizard
Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.Shaggy ought to be getting tired of karma fortunes by now.
 
Shaggy's Avatar
 
Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
Quote:
Originally Posted by Shaggy View Post
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.
Shaggy is offline   Reply With Quote