Skip to content

Commit

Permalink
temp: change reboot default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Nov 13, 2023
1 parent d114148 commit c10a834
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions installation/includes/05_finish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ via Samba.
Do you want to reboot now? [Y/n]" 1>&3

read -rp "Do you want to reboot now? [Y/n] " response
read -rp "Do you want to reboot now? [y/N] " response
case "$response" in
[nN][oO]|[nN])
echo "Reboot aborted" | tee /dev/fd/3
[yY][eE][sS][yY])
echo "Rebooting ..." | tee /dev/fd/3
echo "DONE: finish"
exit
sudo reboot
;;
*)
echo "Rebooting ..." | tee /dev/fd/3
echo "Reboot aborted" | tee /dev/fd/3
echo "DONE: finish"
sudo reboot
exit
;;
esac
}
Expand Down

0 comments on commit c10a834

Please sign in to comment.