summaryrefslogtreecommitdiffstats
path: root/setup2hd/SeTpasswd.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'setup2hd/SeTpasswd.tpl')
-rw-r--r--setup2hd/SeTpasswd.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup2hd/SeTpasswd.tpl b/setup2hd/SeTpasswd.tpl
index 04d7c8c..29d9943 100644
--- a/setup2hd/SeTpasswd.tpl
+++ b/setup2hd/SeTpasswd.tpl
@@ -1,3 +1,6 @@
+# The script defaults to curses dialog but Xdialog is a good alternative:
+DIALOG=${DIALOG:-"dialog"}
+
#!/bin/sh
# Liveslak replacement for Slackware's SeTpassword script.
@@ -22,7 +25,7 @@ if [ -r $TMP/SeTlive ]; then
else
SUTEXT=""
fi
-dialog --title "@UDISTRO@ (@LIVEDE@) USER CREATION" \
+${DIALOG} --title "@UDISTRO@ (@LIVEDE@) USER CREATION" \
--backtitle "@CDISTRO@ Linux Setup (Live Edition)" \
--msgbox "You will first get the chance to create your user account, \
and set its password.${SUTEXT}\n\n\