From 3bb48a9c945dbafbbc912ef8d65234d88cb65794 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 24 Oct 2020 22:29:54 +0200 Subject: 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. --- setup2hd/SeTupass.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup2hd/SeTupass.tpl') 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 -- cgit v1.2.3-65-gdbad