Automatically reboot the machine

This commit is contained in:
Manuel Thalmann 2024-07-16 01:05:06 +02:00
parent ebb96129f0
commit 7eccacc078

View file

@ -39,5 +39,8 @@ begin
end | chroot "$mountDir" tee /root/.bash_profile > /dev/null
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