mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 09:41:31 +01:00
16 lines
701 B
Bash
Executable File
16 lines
701 B
Bash
Executable File
#!/bin/bash
|
|
echo "Bienvenido a JKArch"
|
|
|
|
opt=`dialog --stdout --nocancel --backtitle "Instalacion de JKArch" --title "Bienvenido a JKArch" --menu "Para poder comenzar la instalacion, se necesita una conexion a internet. ¿Como te conectas?" 0 70 5 1 "Estoy por cable (Ethernet)" 2 "Wi-Fi/Inalambrico" 3 "Configuracion compleja (Ir a la terminal)"`
|
|
|
|
if [[ $opt = 2 ]];then
|
|
wifi-menu
|
|
fi
|
|
if [[ $opt = 3 ]];then
|
|
clear
|
|
echo "Te sacamos a la terminal, configure internet y asegurese de que funcione (ej: ping 8.8.8.8) y después escriba exit para continuar"
|
|
bash
|
|
fi
|
|
wget https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/archinstall.sh -O archinstall.sh
|
|
chmod +x archinstall.sh
|
|
./archinstall.sh |