1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-18 03:01:32 +01:00
This commit is contained in:
kprkpr
2016-06-05 19:43:36 +02:00
parent 58ff8378f4
commit 06a18c1f19
2 changed files with 188 additions and 140 deletions

View File

@@ -10,7 +10,7 @@ argpart=$(echo $particionraiz | cut -c1-3)
trap '' INT
function pause {
echo "Pulse enter para continuar..."
echo "$(T "Pause function")"
read
}
@@ -35,14 +35,14 @@ wget https://gitlab.com/JKANetwork/JKArch/raw/master/mods/usersskel.zip -O /root
function horaidioma {
#Idioma
echo "Escoja su idioma. Se irá desde la abreviatura general, a la particular"
echo "$(T "Select language from general to particular")"
options=($(cat /etc/locale.gen | grep '^#[a-zA-Z]' | cut -c2-30 | cut -f1 -d"_" | sort | uniq))
select opt in "${options[@]}"
do
case $opt in
*)
if [[ -z $opt ]];then
echo "No valido"
echo "$(T "Not valid")"
else
langabr=$opt
break
@@ -56,7 +56,7 @@ do
case $opt in
*)
if [[ -z $opt ]];then
echo "No valido"
echo "$(T "Not valid")"
else
opclang=$opt
break
@@ -363,7 +363,7 @@ esac
}
function bootinstall {
echo "Espere..."
echo "$(T "Wait")"
unzip -o -q /root/inst/splashscreen.zip -d /
chmod +x /usr/bin/splashscreen
systemctl enable splashscreen