Reply
Thread Tools
Posts: 89 | Thanked: 6 times | Joined on Jan 2008
#11
How would you save that command into a handy file on which you double click and it shutdown?
 
dfinch's Avatar
Posts: 362 | Thanked: 82 times | Joined on Jan 2008
#12
I use

sh -c 'echo reboot | sudo gainroot'

as a command in the osso-statusbar app command list. It works without complaint.
This was provided by someone else ~ so it's not original work.
__________________
N810, OS 2008 5.2008.43-7 (Diablo)
Nobody can accuse me of not contradicting the invalid arguments of the opposition!
Derek
 

The Following User Says Thank You to dfinch For This Useful Post:
Posts: 1,097 | Thanked: 650 times | Joined on Nov 2007
#13
With becomeroot installed on my N810 , the command
" shutdown -h now " didnt work in Personal menu - with or withour "run as root" checked.

So I uninstalled becomeroot and instead installed the newer roosh package.

Now running the command
" rootsh shutdown -h now " works fine in Personal menu 0 no need to check "run as root" option either.

Thanks for the tips.
 

The Following User Says Thank You to nilchak For This Useful Post:
Posts: 833 | Thanked: 124 times | Joined on Nov 2007 @ Based in the USA
#14
Originally Posted by qwerty12 View Post
"shutdown -h now" as root

I prefer using "shutdown -r now" to reboot but IMHO, this is the best way to reboot:
Code:
run-standalone.sh dbus-send --system --type=method_call --dest="com.nokia.mce" --print-reply "/com/nokia/mce/request" com.nokia.mce.request.req_reboot
(That command uses the Nokia daemons to handle the reboot and anything written using libosso knows the tablet is about to restart and can do something about it. For example, the built in Notes app saved my unsaved note in a recovery file)
EXCELLENT!!
I slammed that into my PM and it worked as advertised, clean shutdown and reboot.
Tricks like this need to be accumulated.
__________________
N810, iGo bt kb, Diablo, 10Gb storage onboard instead of a Thinkpad
OTG w/ unlimited storage!!
Put a penguin in your pocket!!
PLEASE use the Wiki
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:56.