Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # Copyright © 2019 Benoît Boud@ud <https://miamondo.org>
- # This program is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see <http://www.gnu.org/licenses/>
- # Prerequisite : wget and unzip must be installed
- # TITRE
- clear
- echo "Programme de post-installation"
- sleep 2
- # 1. DISPOSITION DES TOUCHES DU CLAVIER
- #echo "Disposition des touches du clavier."
- #echo "(fr pour français, de pour allemand, en pour anglais): "
- #read keyboard
- #loadkeys $keyboard
- # 2. MODE DE DÉMARRAGE
- echo "Vérification du mode de démarrage."
- ls /sys/firmware/efi/efivars
- if [[ $? -eq 0 ]]
- then
- mode="UEFI" # Si pas d'erreur, le mode est UEFI
- else
- mode="BIOS" # Si erreur, le mode est BIOS
- echo $mode
- echo "Votre mode de démarrage est $mode."
Add Comment
Please, Sign In to add comment