[PC-BSD Commits] r17729 - pcbsd-projects/PCDM
svn at pcbsd.org
svn at pcbsd.org
Fri Jul 13 22:57:20 PDT 2012
Author: kenmoore
Date: 2012-07-14 05:57:20 +0000 (Sat, 14 Jul 2012)
New Revision: 17729
Modified:
pcbsd-projects/PCDM/pcdm-gui.cpp
Log:
Oops, now PCDM will shutdown/reboot the computer
Modified: pcbsd-projects/PCDM/pcdm-gui.cpp
===================================================================
--- pcbsd-projects/PCDM/pcdm-gui.cpp 2012-07-14 05:56:36 UTC (rev 17728)
+++ pcbsd-projects/PCDM/pcdm-gui.cpp 2012-07-14 05:57:20 UTC (rev 17729)
@@ -204,13 +204,13 @@
void PCDMgui::slotShutdownComputer(){
qDebug() << "PCDM: Shutting down computer";
- system("shutdown -r now");
+ system("shutdown -p now");
close();
}
void PCDMgui::slotRestartComputer(){
qDebug() << "PCDM: Restarting computer";
- system("reboot");
+ system("shutdown -r now");
close();
}
More information about the Commits
mailing list