From 0ee9284606fbb600aa05eb5d7a2425bbab5a4855 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 5 Dec 2020 20:41:00 +0100 Subject: setup2hd: major changes - use $DIALOG instead of calling dialog; hopefully we can use Xdialog at some time - warn user if terminal is too small to display fdisk/gdisk interfaces - improve installation time of squashfs modules to harddisk with a factor 6, by using a different way to show progress - tweak dialogs so that they show less empty space - if possible, set sane default selections in menu's to make the installation process smoother - fix many small bugs in user account creation, password dialog, user config extraction, removal of redundant configuration questions etc --- setup2hd/SeTumedia.tpl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'setup2hd/SeTumedia.tpl') diff --git a/setup2hd/SeTumedia.tpl b/setup2hd/SeTumedia.tpl index f14e37c..7035fcc 100644 --- a/setup2hd/SeTumedia.tpl +++ b/setup2hd/SeTumedia.tpl @@ -1,13 +1,18 @@ #!/bin/sh + +# The script defaults to curses dialog but Xdialog is a good alternative: +DIALOG=${DIALOG:-"dialog"} + TMP=/var/log/setup/tmp if [ ! -d $TMP ]; then mkdir -p $TMP fi -dialog --backtitle "Select Slackware installation source." \ ---title "SOURCE MEDIA SELECTION" --menu \ +${DIALOG} --backtitle "Select Slackware installation source." \ +--title "SOURCE MEDIA SELECTION" \ +--default-item '4' --menu \ "Please select the media from which to install Slackware Linux:" \ -14 70 7 \ +11 70 4 \ "1" "Install Slackware from NFS (Network File System)" \ "2" "Install Slackware from FTP/HTTP server" \ "3" "Install Slackware from Samba share" \ -- cgit v1.2.3-65-gdbad