Questions tagged [reboot]

Reboot is a Unix command to restart the operating system. It is also a generic term for restarting any operating system.

604 questions
17
votes
5 answers

Runtime.exec() : Reboot in Android?

I'm looking for a solution which can be used to reboot a rooted device. I jknow that rebooting a device is very poor design for the user, as stated here, and it's not really for an application. The main purpose is to reboot the phone during my tests…
Rob
  • 2,766
  • 5
  • 32
  • 39
15
votes
1 answer

how to reboot the emulator into recovery mode

is there any way to reboot the emulator into recovery mode??
Preetam
  • 5,528
  • 10
  • 32
  • 39
14
votes
6 answers

Android 2.2: Reboot device programmatically

I would like to know if there is a way to reboot the device through code. Ive tried: Intent i = new Intent(Intent.ACTION_REBOOT); i.putExtra("nowait", 1); i.putExtra("interval", 1); i.putExtra("window", 0); sendBroadcast(i); And added…
Johan
  • 427
  • 2
  • 7
  • 14
13
votes
2 answers

Reconfigure and reboot a Hudson/Jenkins slave as part of a build

I have a Jenkins (Hudson) server setup that runs tests on a variety of slave machines. What I want to do is reconfigure the slave (using remote APIs), reboot the slave so that he changes take effect, then continue with the rest of the test. There…
Jason Swager
  • 6,421
  • 6
  • 41
  • 56
13
votes
3 answers

How can a required reboot be detected for Windows 7

I am working on a project where several software and drivers are installed on a windows 7 PC. This shall work without user inputs. Now there is the question: How can I determine in this program if a reboot is required to finish an installation (can…
hoffmanuel
  • 403
  • 1
  • 5
  • 14
13
votes
10 answers

Comparing cold-start to warm start

Our application takes significantly more time to launch after a reboot (cold start) than if it was already opened once (warm start). Most (if not all) the difference seems to come from loading DLLs, when the DLLs' are in cached memory pages they…
Motti
  • 110,860
  • 49
  • 189
  • 262
12
votes
2 answers

Remotely shutdown/reboot Linux boxes without SSH?

I need to remotely shutdown and reboot Linux (Ubuntu) machines without logging into them (otherwise simple commands can do the job). The machines are just cheap PCs so there are no special power management hardware installed (though they can…
jasxun
  • 571
  • 1
  • 5
  • 11
11
votes
5 answers

Synced folders lost when rebooting a Vagrant machine using the Ansible provisioner

Vagrant creates a development environment using VirtualBox and then provisions it using ansible. As part of the provisioning, ansible runs a reboot and then waits for SSH to come back up. This works as expected but because the vagrant machine is not…
Max
  • 1,543
  • 2
  • 16
  • 31
10
votes
5 answers

iphone reboot programmatically

I have code system("reboot") The reboot command works in the terminal, but even if I run the app as root, the operation is still denied. Has anyone found any way that works, or can explain a bit about SBSetting's reboot, which makes me curious?
philions
  • 186
  • 1
  • 1
  • 10
10
votes
2 answers

Initiating a Phonegap plugin after device restart

I am in the process of developing a hybrid Phonegap app for Android. The app uses just the one plugin which I am developing as well. The plugin does three things Watches for geo-location changes (both foreground and background) Sets up a…
DroidOS
  • 8,530
  • 16
  • 99
  • 171
10
votes
1 answer

How do I schedule a timed reboot of my server in seconds?

I’m using bash shell on Linux … $ uname -a Linux sandbox.mydomain.com 3.4.76-65.111.amzn1.x86_64 #1 SMP Tue Jan 14 21:06:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux although it would be nice if I could come up with a solution in any bash supported…
Dave
  • 15,639
  • 133
  • 442
  • 830
9
votes
3 answers

How to execute a scp command before reboot or shutdown?

I want to upload file before reboot or shutdown. 1.From my vps to vps Setting for upload.service vim /etc/systemd/system/upload.service [Unit] Description=upload files into my vps Before=shutdown.target…
showkey
  • 482
  • 42
  • 140
  • 295
9
votes
3 answers

Why do some installers need to restart the computer before you run the program?

I'm fairly new to deploying desktop applications, so this is the first time I'm building an installer for my software. Currently, the first time I run my software after installing it, it crashes. After that, it runs fine. I'm still in the process…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238
9
votes
2 answers

How does linux kill D status process during reboot?

I know ths D status processes is uninterruptable sleep processes. Many people say to kill D status processes is to reboot the system. But how does reboot operation can kill the D status processes? I find "init 0" will "kill -9 " all of the…
user3064136
  • 99
  • 1
  • 2
9
votes
4 answers

How to control a TPLINK router with a python script

I wanted to know whether there is a tool that allows me to connect to a router and shut it down, and then reboot it from a python script. I know that if I write: import os os.system("ssh -l root 192.168.2.1") I can connect through python to my…
sadek
  • 119
  • 2
  • 2
  • 5
1
2
3
40 41