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
This commit is contained in:
parent
1491a02802
commit
30e56e1566
@ -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" ) &&
|
||||
|
Loading…
Reference in New Issue
Block a user