From 414ad719707a848f21505568273e1434c1aee296 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Mon, 16 Mar 2015 00:03:41 -0400 Subject: Add the -o flags to the FreeBSD shutdown/restart commands (works faster) --- libLumina/LuminaOS-FreeBSD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libLumina/LuminaOS-FreeBSD.cpp') 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 -- cgit