From 30e56e15667a451d6244b9a6f13a1987694e511d Mon Sep 17 00:00:00 2001 From: Gabriel C Date: Wed, 4 Oct 2017 13:13:33 +0200 Subject: [PATCH] finished: use generic shutdown command - it doesn't make any sense to have restartNowCommand and fallback set to the same command. - also fallback should be something generic every init supports --- src/modules/finished/FinishedViewStep.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/finished/FinishedViewStep.cpp b/src/modules/finished/FinishedViewStep.cpp index d3beacb82..9aea9feaa 100644 --- a/src/modules/finished/FinishedViewStep.cpp +++ b/src/modules/finished/FinishedViewStep.cpp @@ -178,7 +178,7 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap ) configurationMap.value( "restartNowCommand" ).type() == QVariant::String ) m_widget->setRestartNowCommand( configurationMap.value( "restartNowCommand" ).toString() ); else - m_widget->setRestartNowCommand( "systemctl -i reboot" ); + m_widget->setRestartNowCommand( "shutdown -r now" ); } } if ( configurationMap.contains( "notifyOnFinished" ) &&