Setting reboot prompt to Yes as default

This commit is contained in:
Melissa LeBlanc-Williams 2020-10-05 10:29:45 -06:00
parent f8e3d34caf
commit bbcad0bd0b

View file

@ -491,7 +491,7 @@ def success():
Settings take effect on next boot.
""")
if auto_reboot is None:
auto_reboot = shell.prompt("REBOOT NOW?", default="n")
auto_reboot = shell.prompt("REBOOT NOW?", default="y")
if not auto_reboot:
print("Exiting without reboot.")
shell.exit()