diff --git a/fresh.sh b/fresh.sh index d01734c..37e46ca 100755 --- a/fresh.sh +++ b/fresh.sh @@ -1,6 +1,4 @@ #!/bin/bash -# userinput and resume after reboot -# mkfs.fat -F 32 -n EFIBOOT /dev/ # Get params while getopts "r:p:d:v:h" opt; @@ -27,8 +25,8 @@ if [ -z ${v+x} ]; then fi startup_msg() { - dialog --infobox "Welcome to the installer." 0 0 || { clear; exit; } - echo "Installation started\n\n" >> $logfile + curr_platform=$(dialog --clear --titel "Welcome to the installer <3" --menu "Choose your current platform:" 0 0 2 "L" "Laptop" "D" "Desktop" 2>&1>/dev/tty) + echo "Installation started - Platform is: $curr_platform\n\n" >> $logfile } init() {