Automatically reboot the machine
This commit is contained in:
parent
50dcbd015a
commit
7aeb46aaca
1 changed files with 4 additions and 1 deletions
|
@ -39,5 +39,8 @@ begin
|
||||||
end | chroot "$mountDir" tee /root/.bash_profile > /dev/null
|
end | chroot "$mountDir" tee /root/.bash_profile > /dev/null
|
||||||
|
|
||||||
and echo "Setup finished!"
|
and echo "Setup finished!"
|
||||||
and echo "Please reboot your machine"
|
and echo "This machine will reboot in 5 seconds..."
|
||||||
|
and echo "Press CTRL-C to abort..."
|
||||||
|
and sleep 5
|
||||||
|
and systemctl reboot
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue