mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-25 16:38:21 -04:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue