summaryrefslogtreecommitdiff
path: root/stages/first_stage.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-03-22 14:14:35 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-03-22 14:14:35 +0100
commitba641a34c9da01914f4d971be57226ad37878399 (patch)
tree420d88852ca3cb21db5768575c7ee9a2bbbaf517 /stages/first_stage.sh
parent54861b025565f527a35ee0628365bf62769577d0 (diff)
downloadarchinstall-ba641a34c9da01914f4d971be57226ad37878399.tar
archinstall-ba641a34c9da01914f4d971be57226ad37878399.tar.zst
archinstall-ba641a34c9da01914f4d971be57226ad37878399.zip
Move boot_mode Check to archinstall.sh
Diffstat (limited to 'stages/first_stage.sh')
-rw-r--r--stages/first_stage.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/stages/first_stage.sh b/stages/first_stage.sh
index e6ddc7f..b72c19d 100644
--- a/stages/first_stage.sh
+++ b/stages/first_stage.sh
@@ -23,18 +23,6 @@
set -e
-# check bootmode
-
-print_ok "Checking bootmode ..."
-if [ -d "/sys/firmware/efi/efivars" ]; then
- export boot_mode="uefi"
- print_ok "Booted with UEFI"
-else
- export boot_mode="bios"
- print_ok "Booted with legacy boot / BIOS"
-fi
-
-
# partition the disk
if [ "$path_to_disk" == "/dev/null" ]; then # check if a disk is selected