aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-FreeBSD.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-03-16 00:03:41 -0400
committerKen Moore <ken@pcbsd.org>2015-03-16 00:03:41 -0400
commit414ad719707a848f21505568273e1434c1aee296 (patch)
treeed1b082453a821b713a30446adb13985d38c4653 /libLumina/LuminaOS-FreeBSD.cpp
parentAdd support for the older WM_NAME and WM_ICON_NAME standards in addition to t... (diff)
downloadlumina-414ad719707a848f21505568273e1434c1aee296.tar.gz
lumina-414ad719707a848f21505568273e1434c1aee296.tar.bz2
lumina-414ad719707a848f21505568273e1434c1aee296.zip
Add the -o flags to the FreeBSD shutdown/restart commands (works faster)
Diffstat (limited to 'libLumina/LuminaOS-FreeBSD.cpp')
-rw-r--r--libLumina/LuminaOS-FreeBSD.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libLumina/LuminaOS-FreeBSD.cpp b/libLumina/LuminaOS-FreeBSD.cpp
index 269bed52..d454ce22 100644
--- a/libLumina/LuminaOS-FreeBSD.cpp
+++ b/libLumina/LuminaOS-FreeBSD.cpp
@@ -152,12 +152,12 @@ bool LOS::userHasShutdownAccess(){
//System Shutdown
void LOS::systemShutdown(){ //start poweroff sequence
- QProcess::startDetached("shutdown -p now");
+ QProcess::startDetached("shutdown -po now");
}
//System Restart
void LOS::systemRestart(){ //start reboot sequence
- QProcess::startDetached("shutdown -r now");
+ QProcess::startDetached("shutdown -ro now");
}
//Battery Availability
bgstack15