Reboot system after installation

This commit is contained in:
Manuel Thalmann 2024-09-19 22:29:50 +02:00
parent c37e28cab3
commit fe037f7309

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