aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archfi22
1 files changed, 18 insertions, 4 deletions
diff --git a/archfi b/archfi
index 74ef14b..22d50fc 100644
--- a/archfi
+++ b/archfi
@@ -1610,13 +1610,23 @@ while (( "$#" )); do
--help)
echo "archfi"
echo "------"
- echo "-sf | --skip-font Skip setfont from language files"
- echo "-t | --test ghusername ghbranch Test language files"
+ echo "-sf | --skip-font Skip setfont from language files"
+ echo "-efiX -efi0 : disable EFI, -efi1 efi inst, -efi2 efi hybrid inst"
+ echo "-t | --test ghusername ghbranch Test language files"
exit 0
;;
-sf | --skip-font) skipfont=1;;
-t | --test) baseurl="https://raw.githubusercontent"
baseurl="$baseurl.com/""$2/archfi/$3";;
+ -efi0) efimode=0;;
+ -efi1)
+ eficomputer=1
+ efimode=1
+ ;;
+ -efi2)
+ eficomputer=1
+ efimode=2
+ ;;
--chroot) chroot=1
command=$2
args=$3;;
@@ -1647,10 +1657,14 @@ else
pacman -S --needed arch-install-scripts wget libnewt
dmesg |grep efi: > /dev/null
if [ "$?" == "1" ]; then
- eficomputer=0
+ if [ "$eficomputer" != "1" ]; then
+ eficomputer=0
+ fi
else
eficomputer=1
- efimode=1
+ if [ "$efimode" != "" ]; then
+ efimode=1
+ fi
fi
loadstrings
EDITOR=nano