summaryrefslogtreecommitdiff
path: root/iso/root/installer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'iso/root/installer.sh')
-rwxr-xr-xiso/root/installer.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/iso/root/installer.sh b/iso/root/installer.sh
index ed20bf9..bed9ce8 100755
--- a/iso/root/installer.sh
+++ b/iso/root/installer.sh
@@ -7,6 +7,7 @@
logfile="installer.log"
default_packages="base linux xipkg dracut grub mksh sudo neofetch vim tzdata"
additional_services="networkmanager xorg iwd"
+
list_disks () {
lsblk -r | while read -r line; do
set - $line
@@ -37,8 +38,11 @@ partition_disk () {
}
welcome_splash () {
- t_dialogue "Welcome to the xilinux installer" "<Continue>"
-
+ t_radio "welcome to the xilinux installer" "continue" "exit to shell"
+ [ "$T_RESULT" != "continue" ] && {
+ t_clean
+ exit 0
+ }
}
@@ -160,7 +164,7 @@ install_grub () {
}
enter_password () {
- export password=""
+ export passwd=""
t_input_hidden "Enter Password:"
passwd=$T_RESULT
t_input_hidden "Confirm Password:"
@@ -213,11 +217,11 @@ set_timezone () {
}
select_timezone () {
- t_clean_ptrn
+ t_cls_ptrn
zoneinfo="$sysroot/usr/share/zoneinfo"
selection=$1
t_paged_radio "Select your timezone: $selection" $(ls "$zoneinfo/$selection") "more..."
- []
+
selection="$selection/$T_RESULT"
[ -f "$zoneinfo/$selection" ] && {