Setting reboot prompt to Yes as default
This commit is contained in:
parent
f8e3d34caf
commit
bbcad0bd0b
1 changed files with 1 additions and 1 deletions
|
|
@ -491,7 +491,7 @@ def success():
|
||||||
Settings take effect on next boot.
|
Settings take effect on next boot.
|
||||||
""")
|
""")
|
||||||
if auto_reboot is None:
|
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:
|
if not auto_reboot:
|
||||||
print("Exiting without reboot.")
|
print("Exiting without reboot.")
|
||||||
shell.exit()
|
shell.exit()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue