Re: Rebooting the System



Sandeep KS wrote:
Hello everyone,
I am doing a project using GTK which needs rebooting of the system. When the code is executed, the user is asked to select some details. After he enters all the details and clicks on the OK button, i need to save all the details and reboot the system. After rebooting, i need to execute the code again automatically with the next page of the code displayed. I also need to show all the saved details.
Is it possible to achieve this? How can i do it?

What are you doing that requires rebooting the system? This behavior is a Windows-ism that normally isn't required on Unix-type OSes.

Shutdown and reboot are protected operations. You won't be able to rely on them being available to non-root users.

--
Guy Rouillier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]