Remove EFI Features on no EFI computer
This commit is contained in:
parent
dd20f1fda1
commit
207ad1e72c
1 changed files with 28 additions and 23 deletions
5
archfi
5
archfi
|
@ -960,6 +960,7 @@ archinstallbootloader(){
|
||||||
"${options[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
if [ "$eficomputer" == "1" ]; then
|
||||||
options=()
|
options=()
|
||||||
if [ "$efimode" = "1" ]; then
|
if [ "$efimode" = "1" ]; then
|
||||||
options+=("EFI" "")
|
options+=("EFI" "")
|
||||||
|
@ -986,6 +987,10 @@ archinstallbootloader(){
|
||||||
esac
|
esac
|
||||||
pressanykey
|
pressanykey
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
archchroot installbootloader $device;;
|
||||||
|
pressanykey
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
archinstallbootloaderchroot(){
|
archinstallbootloaderchroot(){
|
||||||
|
|
Loading…
Reference in a new issue