summaryrefslogtreecommitdiffstats
path: root/setup2hd/SeTuacct.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'setup2hd/SeTuacct.tpl')
-rw-r--r--setup2hd/SeTuacct.tpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup2hd/SeTuacct.tpl b/setup2hd/SeTuacct.tpl
index e07564f..f6d6464 100644
--- a/setup2hd/SeTuacct.tpl
+++ b/setup2hd/SeTuacct.tpl
@@ -1,4 +1,8 @@
#!/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
@@ -25,7 +29,7 @@ UACCTNR="$FREEUID"
USHELL="/bin/bash"
UFORM="Fill out your user details:"
while [ 0 ]; do
- dialog --stdout --ok-label "Submit" --no-cancel \
+ ${DIALOG} --stdout --ok-label "Submit" --no-cancel \
--title "@UDISTRO@ (@LIVEDE@) USER CREATION" \
--form "$UFORM" \
11 64 0 \