aboutsummaryrefslogtreecommitdiffstats
path: root/setup2hd/SeTumedia.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'setup2hd/SeTumedia.tpl')
-rw-r--r--setup2hd/SeTumedia.tpl11
1 files changed, 8 insertions, 3 deletions
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" \