diff options
author | Eric Hameleers <alien@slackware.com> | 2020-10-24 22:29:54 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-10-24 22:29:54 +0200 |
commit | 3bb48a9c945dbafbbc912ef8d65234d88cb65794 (patch) | |
tree | 63ce1d983031b5a8bb8371bc690c689acac39ed4 /setup2hd/SeTupass.tpl | |
parent | 2e29bd396c899fdf2e99504c37c993d4576b8244 (diff) | |
download | liveslak-3bb48a9c945dbafbbc912ef8d65234d88cb65794.tar.gz liveslak-3bb48a9c945dbafbbc912ef8d65234d88cb65794.tar.xz |
setup2hd fixes and enhancements
DAW configuration is now properly copied
Extracting the Live OS to hard disk is roughly 10 times faster now,
after abandoning the fancy progress bar and just showing the rsync status.
Use an enhanced Slackware SeTpasswd to add a non-root user and set
the root password.
Various syntax and logic errors removed.
Diffstat (limited to '')
-rw-r--r-- | setup2hd/SeTupass.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup2hd/SeTupass.tpl b/setup2hd/SeTupass.tpl index ff662ab..8cbadea 100644 --- a/setup2hd/SeTupass.tpl +++ b/setup2hd/SeTupass.tpl @@ -16,14 +16,14 @@ UACCOUNT="$1" 9 64 0 \ "Password:" 1 1 "$UPASS1" 1 18 40 0 \ "Repeat password:" 2 1 "$UPASS2" 2 18 40 0 \ - 2>&1 1> $TMP/tempresult + 2>&1 1> $TMP/tempupass iii=0 declare -a USERATTR while read LINE ; do USERATTR[$iii]="$LINE" iii=$(expr $iii + 1) - done < $TMP/tempresult - rm -f $TMP/tempresult + done < $TMP/tempupass + rm -f $TMP/tempupass UPASS1="${USERATTR[0]}" UPASS2="${USERATTR[1]}" unset USERATTR |