summaryrefslogtreecommitdiff
path: root/app-misc/calamares-config-redcore/files/modules/finished.conf
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/calamares-config-redcore/files/modules/finished.conf')
-rw-r--r--app-misc/calamares-config-redcore/files/modules/finished.conf35
1 files changed, 31 insertions, 4 deletions
diff --git a/app-misc/calamares-config-redcore/files/modules/finished.conf b/app-misc/calamares-config-redcore/files/modules/finished.conf
index dbbd88a9..3c6ca4ff 100644
--- a/app-misc/calamares-config-redcore/files/modules/finished.conf
+++ b/app-misc/calamares-config-redcore/files/modules/finished.conf
@@ -1,14 +1,41 @@
# Configuration for the "finished" page, which is usually shown only at
# the end of the installation (successful or not).
---
+# DEPRECATED
+#
# The finished page can hold a "restart system now" checkbox.
-# If this is false, no checkbox is show and the system is not restarted
+# If this is false, no checkbox is shown and the system is not restarted
# when Calamares exits.
-restartNowEnabled: true
-# Initial state of the checkbox "restart now".
-restartNowChecked: false
+# restartNowEnabled: true
+
+# DEPRECATED
+#
+# Initial state of the checkbox "restart now". Only relevant when the
+# checkbox is shown by restartNowEnabled.
+# restartNowChecked: false
+
+# Behavior of the "restart system now" button.
+#
+# There are four usable values:
+# - never
+# Does not show the button and does not restart.
+# This matches the old behavior with restartNowEnabled=false.
+# - user-unchecked
+# Shows the button, defaults to unchecked, restarts if it is checked.
+# This matches the old behavior with restartNowEnabled=true and restartNowChecked=false.
+# - user-checked
+# Shows the button, defaults to checked, restarts if it is checked.
+# This matches the old behavior with restartNowEnabled=true and restartNowChecked=true.
+# - always
+# Shows the button, checked, but the user cannot change it.
+# This is new behavior.
+#
+# The three combinations of legacy values are still supported.
+restartNowMode: user-unchecked
+
# If the checkbox is shown, and the checkbox is checked, then when
# Calamares exits from the finished-page it will run this command.
+# If not set, falls back to "shutdown -r now".
restartNowCommand: "shutdown -r 0"
# When the last page is (successfully) reached, send a DBus notification