aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-02-25 15:27:49 -0500
committerKen Moore <moorekou@gmail.com>2016-02-25 15:27:49 -0500
commit03ded21318a57f45bb80cf4d272acbc2469a0af2 (patch)
treed90fbfa7b0351c8a0a7dd1d9a648d9dfaafdd381
parentTag version 0.9.0-devel on the master branch (corresponds to 0.8.8-Release-p1... (diff)
downloadlumina-03ded21318a57f45bb80cf4d272acbc2469a0af2.tar.gz
lumina-03ded21318a57f45bb80cf4d272acbc2469a0af2.tar.bz2
lumina-03ded21318a57f45bb80cf4d272acbc2469a0af2.zip
Remove the "-o" options from the reboot/shutdown commands in Lumina - this bypasses the PC-BSD update system on 11.x
-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 310341f6..530ee5f0 100644
--- a/libLumina/LuminaOS-FreeBSD.cpp
+++ b/libLumina/LuminaOS-FreeBSD.cpp
@@ -197,12 +197,12 @@ bool LOS::systemPerformingUpdates(){
//System Shutdown
void LOS::systemShutdown(){ //start poweroff sequence
- QProcess::startDetached("shutdown -po now");
+ QProcess::startDetached("shutdown -p now");
}
//System Restart
void LOS::systemRestart(){ //start reboot sequence
- QProcess::startDetached("shutdown -ro now");
+ QProcess::startDetached("shutdown -r now");
}
//Check for suspend support
bgstack15