mirror of
https://github.com/rozniak/xfce-winxp-tc.git
synced 2026-01-26 11:39:44 +00:00
Prelim: Add reboot step
This commit is contained in:
@@ -447,4 +447,10 @@ def wsetup_step_prepare_chain_to_gui(stdscr):
|
||||
raise Exception("Failed to chain graphical phase");
|
||||
|
||||
# FIXME: Should show reboot screen
|
||||
subprocess.run(
|
||||
[ "reboot", "now" ],
|
||||
capture_output=True,
|
||||
check=True
|
||||
)
|
||||
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user