diff --git a/archiso/airootfs/usr/local/bin/calamares-online.sh b/archiso/airootfs/usr/local/bin/calamares-online.sh index 3718386..563ff11 100755 --- a/archiso/airootfs/usr/local/bin/calamares-online.sh +++ b/archiso/airootfs/usr/local/bin/calamares-online.sh @@ -37,6 +37,20 @@ Main() { esac mode=online # keep this line for now! + local _exitcode=$(yad --width 300 --title "Bootloader" \ +--image=gnome-shutdown \ +--button="Grub:2" \ +--button="Systemd-boot:3" \ +--text "Choose Bootloader:" ; echo $?) + + if [[ "${_exitcode}" -eq 2 ]]; then + echo "GRUB!" + elif [[ ${_exitcode} -eq 3 ]]; then + echo "SYSTEMD-BOOT!" + else + exit + fi + cat < $log ########## $log by $progname ########## Started (UTC): $(date -u "+%x %X")