diff options
author | Eric Hameleers <alien@slackware.com> | 2020-10-05 15:34:46 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-10-05 15:34:46 +0200 |
commit | 70b689e6bf00338f55ae2daf1c2d0c2d972e00e8 (patch) | |
tree | 37dfca537a833973a2443133391f06c57d348e41 /SeTupass.tpl | |
parent | 9abd86d3b8c45e32bce75bb6db402868e34631b6 (diff) | |
download | liveslak-70b689e6bf00338f55ae2daf1c2d0c2d972e00e8.tar.gz liveslak-70b689e6bf00338f55ae2daf1c2d0c2d972e00e8.tar.xz |
setup2hd: add option to install regular Slackware via network mirror
The setup2hd script is a modified Slackware installer. For liveslak I had
originally removed all the usual SOURCE selections and only allowed for
the installation of the Live OS to harddisk.
However, requests were sent to also support a regular installation
of Slackware using the Live ISO. That is why I have now re-added all the
Slackware network install choices (via NFS, HTTP, FTP or Samba mirror).
I still left out the Slackware installation using local media;
the Live ISO does not contain regular Slackware packages so that
would not make sense.
Diffstat (limited to 'SeTupass.tpl')
-rwxr-xr-x | SeTupass.tpl | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/SeTupass.tpl b/SeTupass.tpl deleted file mode 100755 index ff662ab..0000000 --- a/SeTupass.tpl +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh -TMP=/var/log/setup/tmp -if [ ! -d $TMP ]; then - mkdir -p $TMP -fi - -UACCOUNT="$1" - - UPASS1="" - UPASS2="" - UFORM="Define a new password for user '$UACCOUNT'" - while [ 0 ]; do - dialog --stdout --insecure --ok-label "Submit" --no-cancel \ - --title "@UDISTRO@ (@LIVEDE@) USER CREATION" \ - --passwordform "$UFORM" \ - 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 - iii=0 - declare -a USERATTR - while read LINE ; do - USERATTR[$iii]="$LINE" - iii=$(expr $iii + 1) - done < $TMP/tempresult - rm -f $TMP/tempresult - UPASS1="${USERATTR[0]}" - UPASS2="${USERATTR[1]}" - unset USERATTR - if [ -z "$UPASS1" ]; then - UFORM="Password must not be empty, try again for user '$UACCOUNT'" - elif [ "$UPASS1" == "$UPASS2" ]; then - break - else - UFORM="Passwords do not match, try again for user '$UACCOUNT'" - fi - done - echo "${UPASS1}" - unset UPASS1 - unset UPASS2 - unset USERATTR - |