mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Update netboot.sh
This commit is contained in:
+3
-1
@@ -150,11 +150,13 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$PASSWD" ] && [ "$MANUALLY" != true ]; then
|
||||
if [ "$MANUALLY" != true ]; then
|
||||
if [ -z "$PASSWD" ]; then
|
||||
PASSWD=$(mkpasswd -m sha-512)
|
||||
else
|
||||
PASSWD=$(mkpasswd -m sha-512 "$PASSWD")
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
if [ "$DRYRUN" != true ]; then
|
||||
|
||||
Reference in New Issue
Block a user