Reboot system after installation

This commit is contained in:
Manuel Thalmann 2024-09-19 22:29:50 +02:00
parent dffdc87d99
commit 8a4e7919da

View file

@ -59,4 +59,9 @@ else
end end
and runHook postInstall || true and runHook postInstall || true
echo "The installation finished successfully!"
and echo "This machine will reboot in 5 seconds..."
and echo "Press CTRL-C to abort..."
and sleep 5
and systemctl reboot
end end