Remove EFI Features on no EFI computer
This commit is contained in:
parent
e630cc94d8
commit
15027c0e00
1 changed files with 2 additions and 2 deletions
4
archfi
4
archfi
|
@ -670,7 +670,7 @@ archmenu(){
|
||||||
options+=("${txtedit//%1/cryptotab}" "($txtoptional)")
|
options+=("${txtedit//%1/cryptotab}" "($txtoptional)")
|
||||||
options+=("${txtedit//%1/mkinitcpio.conf}" "($txtoptional)")
|
options+=("${txtedit//%1/mkinitcpio.conf}" "($txtoptional)")
|
||||||
options+=("${txtedit//%1/mirrorlist}" "($txtoptional)")
|
options+=("${txtedit//%1/mirrorlist}" "($txtoptional)")
|
||||||
options+=("${txtinstall//%1/grub}" "pacstrap grub (os-prober), grub-mkconfig")
|
options+=("${txtinstall//%1/grub}" "pacstrap grub (efibootmgr), grub-mkconfig")
|
||||||
options+=("${txtedit//%1/grub}" "($txtoptional)")
|
options+=("${txtedit//%1/grub}" "($txtoptional)")
|
||||||
options+=("${txtinstall//%1/bootloader}" "grub-install")
|
options+=("${txtinstall//%1/bootloader}" "grub-install")
|
||||||
options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd")
|
options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd")
|
||||||
|
@ -921,7 +921,7 @@ archinstallgrub(){
|
||||||
clear
|
clear
|
||||||
pacstrap /mnt grub
|
pacstrap /mnt grub
|
||||||
|
|
||||||
if [ "eficomputer" = "1" ]; then
|
if [ "eficomputer" == "1" ]; then
|
||||||
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
|
if [ "$efimode" = "1" ]||[ "$efimode" = "2" ]; then
|
||||||
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
|
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
|
||||||
clear
|
clear
|
||||||
|
|
Loading…
Reference in a new issue