diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-27 16:26:47 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-27 16:26:47 +0100 |
commit | 8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5 (patch) | |
tree | 99210d506fc6aa86468f93b68fcc4d3b7eddfa63 /joes-arch-install.sh | |
parent | Corrected mistake (diff) | |
download | arch-installer-8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5.tar.gz arch-installer-8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5.tar.bz2 arch-installer-8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5.tar.xz arch-installer-8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5.tar.zst arch-installer-8b1b11aa3f7b8632c293cfac615fc316ce6bb4a5.zip |
Disk confirm in progress
Diffstat (limited to 'joes-arch-install.sh')
-rwxr-xr-x | joes-arch-install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/joes-arch-install.sh b/joes-arch-install.sh index 6e9f6d2..f3834e6 100755 --- a/joes-arch-install.sh +++ b/joes-arch-install.sh @@ -165,6 +165,22 @@ jo_get_root_size() { done } +jo_get_confim_disk() { + if [ "$efimode" = true ]; then + bootpart="/boot/efi" + else + bootpart="/boot" + fi + dialog --title "Confirm this is correct"\ + --yesno "\ +\tDrive to use:\t$drv\n\ +\n\ +boot partition [$drv1] ($bootpart) - \t\t$bootsze\n\ +swap partition [$drv2] (swap) - \t\t$swpsze\n\ +root partition [$drv3] (/) - \t\t\t$rtsze\n\ +home partition [$drv4] (/home) - \t\tAll that remains" 10 70 +} + jo_pacstrap() { echo dialog --title "$1" --infobox "Installing $1" 3 50 |