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

Android: make notification persist across phone reboot

What's the best way to have a status bar notification persist when the phone is turned off and on again? The only solution I can think of is to create the notification in a Service which starts in response to the BOOT_COMPLETED_ACTION Intent.
Graham Borland
  • 60,055
  • 21
  • 138
  • 179
4
votes
2 answers

Where can I find the source code for "reboot" command?

From where to get the source code for reboot command in Linux ?
nitin_cherian
  • 6,405
  • 21
  • 76
  • 127
4
votes
3 answers

Notification Listener Service does not work after app is crashed

I have a problem on my app and I want to report this bug. I develope the app which can crawls notifications using NotificationListenerService. It works well. But NotificationListenerService class has the problem I think. Because, If the app is…
4
votes
1 answer

Running script in crontab--reboot: command not found

I've set a script in my root crontab that is supposed to restart my machine with the reboot command. However, I am getting a reboot: command not found despite the fact that reboot is in the root user's path. $ sudo su $ which reboot /sbin/reboot $…
ning
  • 1,823
  • 1
  • 19
  • 25
4
votes
2 answers

How To Test BOOT_COMPLETED Broadcast Receiver

I want to check the BROADCAST RECEIVER with Action BOOT_COMPLETED in the emulator. This my code public class AutoRunService extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if…
4
votes
1 answer

Blackberry Phone rebooting on app install

On installing an application on a BlackBerry, the phone has to be rebooted to complete installation. Can this be avoided?
user486464
  • 181
  • 6
4
votes
2 answers

How to detect whether the JVM has been upgraded without rebooting (on Windows)?

We frequently get the following stack trace from our Windows users: java.lang.UnsatisfiedLinkError: sun.awt.image.ImageRepresentation.setBytePixels(IIII[BIILsun/awt/image/ByteComponentRaster;I)V at…
uckelman
  • 25,298
  • 8
  • 64
  • 82
4
votes
1 answer

Continue Ansible Playbook after reboot

Situation: On a Windows host machine, I want to install a virtual machine with Ubuntu 16 + some dev tools. For that, I use Vagrant and VirtualBox (both on the Windows host) and a local Ansible on the vm. Problem: After the vm is installed, it should…
grackkle
  • 776
  • 1
  • 9
  • 26
4
votes
1 answer

Bootloader code sometimes crashes (triple-faults?) computer

I have code in my custom bootloader that copies memory from a 512-byte buffer at address 0x8E00 into high memory, 0x100000 and higher. This works fine on some computers, and crashes (triple-faults, I assume) on others. This code also works fine in…
owacoder
  • 4,815
  • 20
  • 47
4
votes
1 answer

AWS EC2 t2.micro instance very unstable

I'm running a wordpress page on an AWS EC2 t2.micro instance. Nothing fancy but just a simple wordpress site. It has been happening pretty consistently that every few weeks: my page will be unreachable, ssh not reachable either when check on…
Kitetaka
  • 527
  • 4
  • 20
4
votes
1 answer

Inno Setup: restart during setup process won't start after reboot

I've made a installer using Inno Setup, and I need to restart computer after some files was run, so I used the solution from this post. The inno setup sample 'CodePrepareToInstall.iss' works fine, so I used the code for my test installation but my…
CrazyMetal
  • 193
  • 10
4
votes
2 answers

Should I ever include a reboot command in my BoxStarter script?

Question Is there ever a reason to include if (Test-PendingReboot) { Invoke-Reboot } in a BoxStarter script when $Boxstarter.RebootOk=$true is declared? Background I've recently discovered BoxStarter and noticed that a number of scripts out there…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
4
votes
2 answers

reboot within an initrd image

I am looking for a method to restart/reset my linux system from within an init-bottom script*. At the time my script is executed the system is found under /root and I have access to a busybox. But the "reboot" command which is part of my busybox…
user2715068
  • 51
  • 1
  • 4
4
votes
2 answers

CoreOS after some reboot can't load etcd unit with user_data config

I'm trying CoreOS(version 410.0.0 stable) that was installed on disk with this cloud-config. All work fine at first boot, but after some days and some reboots the problem was presented with etcd. When I start the machine the output generate message…
enrique-carbonell
  • 5,836
  • 3
  • 30
  • 44
4
votes
2 answers

Running a Powershell script, restarting and then continue to run

I'm just starting out with the very basics of Powershell scripting and am looking at creating a script to one set of instructions then restart and continue running the rest of the script. The first part of the script makes changes to the registry,…
user3786382
  • 75
  • 1
  • 2
  • 7