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
0
votes
1 answer

Registering a Phonestate receiver after rebooting

I have implemented a receiver like this (in the manifest file)
yasserbn
  • 391
  • 3
  • 18
0
votes
3 answers

Changing screen resolution on android devices without re booting

I tried changing the screen resolution in build.prop file in system, but it requires re booting. I need a solution for changing screen resolution on android devices without re booting. Thanks, Krishna
nits.kk
  • 5,204
  • 4
  • 33
  • 55
0
votes
2 answers

Reboot Android Device running 4.0

I have set permissions in the manifest: I call the following lines to reboot device: Intent intent = new Intent(Intent.ACTION_REBOOT); sendBroadcast(intent); Since I have root…
Roy Hinkley
  • 10,111
  • 21
  • 80
  • 120
0
votes
1 answer

Programmatically HotBoot (Hot Reboot) Android Device

I'm currently using this code to Reboot my Android Device: try { Process proc = Runtime.getRuntime() .exec(new String[]{ "su", "-c", "reboot" }); proc.waitFor(); } catch (Exception ex) { ex.printStackTrace(); } Now,…
Sheharyar
  • 73,588
  • 21
  • 168
  • 215
0
votes
3 answers

How to Wait till all files are deleted by my java function?

I am having a problem. I have a function to remove some files and then reboot the system. It contains a lot of files, so before the whole set of files are getting deleted, my reboot command is getting executed. How can I solve this in my Java…
Navaneeth Sen
  • 6,315
  • 11
  • 53
  • 82
0
votes
1 answer

How to continue the python script execution from the point it left before reboot

I want to write a test script in python which should reboot the system in between the test execution on local machine... (No remote automation server is monitoring the script). How the script execution can be made continuous even after reboot? The…
Abhishek Kulkarni
  • 3,693
  • 8
  • 35
  • 42
0
votes
1 answer

unable to connect apache server after reboot

I'm new to Linux I have an urgent Issue, I have an apache server, I had to reboot it but now I can't connect to it. Any Ideas? My code sudo reboot
Elad
  • 426
  • 1
  • 8
  • 20
0
votes
1 answer

Effect of redirects on reboot command

I'm running linux on a mips based system (specifically openwrt on a router). When I run the reboot (as supplied by busybox) i.e. just reboot on it's own, the system reboots, but some of the services (webserver, dhcp/dns, dsl stuff) don't start…
rhlee
  • 3,857
  • 5
  • 33
  • 38
0
votes
1 answer

Why I cannot start delayed_job daemon with crontab?

I have the following script for starting a delayed job worker in ruby on rails require 'rubygems' require 'daemon_spawn' $: << '.' RAILS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) class DelayedJobWorker < DaemonSpawn::Base …
mottalrd
  • 4,390
  • 5
  • 25
  • 31
0
votes
3 answers

How do I execute commands before shutdown in Windows 7 (and before it kills all running programs?)

I have a batch file that starts a VirtualBox VM when windows starts and I'd like to have one that automatically saves the state of the VM when someone reboots or shuts down the machine. I can't use GPO because everything it does happens after…
5moufl
  • 11
  • 1
  • 5
0
votes
1 answer

reboot windows mobile 6.5 professional from c# application

I am using the following code to reboot the device from my c# application [Flags] public enum ExitFlags { Reboot = 0x02, PowerOff = 0x08 } [DllImport("coredll")] public static extern int ExitWindowsEx(ExitFlags…
0
votes
1 answer

Core data is lost when reboot iPhone device

I create an application that use two xcdatamodel file to save data. Everything works fine, the data can save and load successfully. But it is weird that when I reboot the device, data in one model is lost and another is still exists. It usually…
stevensei
  • 21
  • 1
0
votes
3 answers

Detailed procedures of linux rebooting

I'm interested in how rebooting is implemented in Linux. When I press ctrl-alt-del or click "restart" in the menu bar, what happens next? Thanks!
jerryang
  • 11
  • 1
-1
votes
1 answer

Is data in RAM permanently cleared after a reboot?

I am being told sensitive data held in RAM is permanently cleared out by rebooting a Windows (10) machine. Is this correct? RAM is extended by paging data to and from the paging file (C:\pagefile.sys) using various algortihms. My understanding is…
Mark Worrall
  • 290
  • 3
  • 9
-1
votes
2 answers

How i can change the uid and pid of my app?

I was tryng to reboot my device with my app, but it throws an exception with Error message "The app with xxxx uid and with xxxx pid you can't reboot the device". So, if I can search what is the pid or uid that can, may be like a pid of alarm or…
titusfx
  • 1,896
  • 27
  • 36