Merge pull request #827 from abucodonosor/finished
finished: use generic shutdown command
This commit is contained in:
commit
b47c8a72df
@ -178,7 +178,7 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
|||||||
configurationMap.value( "restartNowCommand" ).type() == QVariant::String )
|
configurationMap.value( "restartNowCommand" ).type() == QVariant::String )
|
||||||
m_widget->setRestartNowCommand( configurationMap.value( "restartNowCommand" ).toString() );
|
m_widget->setRestartNowCommand( configurationMap.value( "restartNowCommand" ).toString() );
|
||||||
else
|
else
|
||||||
m_widget->setRestartNowCommand( "systemctl -i reboot" );
|
m_widget->setRestartNowCommand( "shutdown -r now" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( configurationMap.contains( "notifyOnFinished" ) &&
|
if ( configurationMap.contains( "notifyOnFinished" ) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user