I have a Qt 4 GUI where I need to have a option in a drop-down menu that allows the user to choose to restart the computer. I realize this might seem redunant with the ability to restart the computer in other ways, but the choice needs to stay there. I've tried using system() to call the following:
a suid-root shell script
a non-suid s...
I've seen lots of scripts out there for manually stopping/starting services in a list, but how can I generate that list programatically of -just- the automatic services. I want to script some reboots, and am looking for a way to verify that everything did in fact start up correctly for any services that were supposed to.
...
I don't know if this is the appropriate place for me to ask this question, since it's more for system maintenance, but I'm having difficult time finding any answers on Google.
but is there any way to reboot and execute VFD, virtual floppy disk, without ghost client??
...
I would like to produce a popup window giving the user to ability to select yes to reboot the phone. Possible?
...
I have a client server set up between different computers on a network using .Net Remoting in C#.
The server runs in a service that starts up when the computer turns on.
I want the client to be able to restart the computer that is running the server service and receive a status if the restart succeeded or failed.
What is the best appro...
How do I restart Mac OS X using C++ (not Objetive-C) without invoking any child processes? Don't care if it's ungraceful.
system("reboot"); //Is not acceptable as it relies on invoking a process
...
I'm testing an android application with a long running service. I'm using Eclipse and have the usb cord hooked up with the phone sitting next to me. Since it's a long ongoing service, I do some other work while it runs and check the logcat logs every once in a while to make sure everything is going as expected.
A few minutes ago I noti...
I have a simple appWidget that displays an image. The image is selected in the configuration activity and the widget is updated via the remove view. This is done on a button push executing the code below:
Intent intent = new Intent(context, KidDialog.class);
intent.setData(selectedImage);
PendingIntent pendingIntent = PendingIntent.g...
I read that there was no method to restart the iPhone (at least that will go through the app store), so I am wondering if you have any other ideas. Basically, at my desk, I receive "No Service"... When I go out to my car (in a service area), I remain in No Service without being able to make a call until I restart my iPhone. I've tried ...
I reboot a remote computer with Wake-on-Lan and I would like to know if there is a way to know that the computer is idling at login screen (so I can start to do the stuff that need to be done).
...
I want to write a program that will run on a specific web server and periodically browse to a page that is being hosted by that same web server (IIS) to check for certain text. If a certain condition was found to be true, it would initiate a reboot of the server (the one it is residing on).
I can handle the checking the webpage part, th...
Im using inno setup 5.3 latest to package my vb.net application. Im setting Environment variables during installation to the windows system. It needs a reboot of the system to implement the changes made in the Environment variables. How do i prompt the user to reboot the system so as to implement changes ( as done in many applications). ...
I've got an uninstaller that performs some actions and then prompts the user to reboot. I'd like a directory to be deleted after the reboot takes place. I know there's a way to do this, I'm just not sure how.
I'm using a WiX installer, and I'd imagine I could use that to do so, somehow, but I'm open to alternatives (whatever's simplest ...
I am using GNU screen a lot. I find it very annoying that everytime the server has to be rebooted I lose all my sessions (even if I know in advance, I need to set-up everything again).
I've searched the web for possibilities how to make screen survive a reboot, but found nothing that works for me. Some of the methods I found and there f...
Hello,
I have a simple script that at machine boot checks for a USB device, when found
mounts, copies some files to the flash memory, unmounts and requires a reboot.
what happens when I write to the flash is
rm -rf folder_to_remove
tar -zxvf from the usb key archive to the new location
I found that if I comment those lines, so I do n...
When you'r new at making apps, for example with Camera, it regularly happens that the Camera hangs after some kind of wrong commands given to it. you can't open the camera after this has happened until you switch your phone off and on.
I understand this can only be done by the system, but if there would be the possibility of giving the ...