diff options
author | Eric Hameleers <alien@slackware.com> | 2020-12-05 20:41:00 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-12-05 20:41:00 +0100 |
commit | 0ee9284606fbb600aa05eb5d7a2425bbab5a4855 (patch) | |
tree | 141e6dc85fcff78fdf85a14175ac1ce358696910 /setup2hd/SeTpasswd.tpl | |
parent | 71aa93deae34c2b276a0c34905b0895e17f4451e (diff) | |
download | liveslak-0ee9284606fbb600aa05eb5d7a2425bbab5a4855.tar.gz liveslak-0ee9284606fbb600aa05eb5d7a2425bbab5a4855.tar.xz |
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
Diffstat (limited to 'setup2hd/SeTpasswd.tpl')
-rw-r--r-- | setup2hd/SeTpasswd.tpl | 5 |
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\ |