maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   "sudo shutdown -r now" No effect? (https://talk.maemo.org/showthread.php?t=60438)

RWFarley 2010-08-16 01:03

"sudo shutdown -r now" No effect?
 
I'm trying to find a way to "bounce" my N900.

I've quite often hit the power key during shut-down or worse yet during power-up when the screen's blank. The whole "waiting for shut-down to finish so I can start again" drill can waste as much time as the re-boot itself. I'm looking for a more efficient, fast way to re-boot.

Way back in the day on AIX, I'd type "shutdown -r" to re-boot.

Is there a "reboot" command/key/widget available?


Thanks in advance

anthonie 2010-08-16 01:11

Re: "sudo shutdown -r now" No effect?
 
$ root

reboot -n

should do the trick

RWFarley 2010-08-16 01:24

Re: "sudo shutdown -r now" No effect?
 
Cool

$ root
reboot -n

works.

Let's see how long I can remember 2 simple words.... :-P

Thanks

anthonie 2010-08-16 01:54

Re: "sudo shutdown -r now" No effect?
 
Quote:

Originally Posted by RWFarley (Post 787519)
Let's see how long I can remember 2 simple words.... :-P

Thanks

Simply create an alias from the CL for it.

alias reboot='reboot -n'

You'd still have to remember to be root though

6sicSIX 2010-08-16 01:58

Re: "sudo shutdown -r now" No effect?
 
What does the -n do ?
I always just sudo reboot...

maxximuscool 2010-08-16 02:00

Re: "sudo shutdown -r now" No effect?
 
just type:
sudo reboot -f (to quickly reboot the device).

or

Sudo reboot

Done!

anthonie 2010-08-16 02:10

Re: "sudo shutdown -r now" No effect?
 
The -n stands for "now" as normally there will be a timer used as a parameter.

6sicSIX 2010-08-16 02:29

Re: "sudo shutdown -r now" No effect?
 
Ah okay thanks

les_garten 2010-08-16 02:46

Re: "sudo shutdown -r now" No effect?
 
init 6

Les

F2thaK 2010-08-16 03:18

Re: "sudo shutdown -r now" No effect?
 
ive got a reboot button on my power button menu.............................................. ........


All times are GMT. The time now is 11:01.

vBulletin® Version 3.8.8