diff options
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/install/install.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bootstrap/install/install.sh b/bootstrap/install/install.sh index 01d727c4..d92a9cb7 100755 --- a/bootstrap/install/install.sh +++ b/bootstrap/install/install.sh @@ -106,6 +106,19 @@ msg2 "Root-disk UUID is: $(lsblk -no UUID -T $DISK_ROOT)"; msg2 "EFI-disk UUID is: $(lsblk -no UUID -T $DISK_EFI)"; warning "This information needs to be entered in the host configuration BEFORE rebuilding it. Otherwise the system won't boot!" +info_applied=false; +while [ "$info_applied" = false ];do + readp "Have you updated your chosen host with this information? [N/y]: " result + case $result in + [Yy]) + info_applied=true; + ;; + *) + warning "You won't be able to boot, if you don't update it!" + ;; + esac +done + msg "Checking for incompatibilities..." ssd_or_hdd=$(cat /sys/block/$disk/queue/rotational); case "$ssd_or_hdd" in @@ -119,7 +132,7 @@ case "$ssd_or_hdd" in "false") msg2 "Nay, your ssd doesn't support trim, go on"; ;; - *) + *) warning "Your ssd doesn't seem to exists, if this bothers you please open an issue.'"; ;; esac |