Update File to randomize gender in build scripts

This commit is contained in:
Forrest Fuqua 2019-10-03 17:05:07 -04:00 committed by GitHub
parent 56b1d21bb0
commit 92a63c3863
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -335,7 +335,13 @@ fi
setup_raspbian
provision_raspbian
echo -e "[+] Congratz, it's a boy (⌐■_■)!"
#Make a baby with a random gender, maybe do something fun with this later!
gender[0]="boy"
gender[1]="girl"
rand=$[ $RANDOM % 2 ]
echo -e "[+] Congratz, it's a ${arr[$rand]} (⌐■_■)!"
echo -e "[+] One more step: dd if=../${PWNI_OUTPUT} of=<PATH_TO_SDCARD> bs=4M status=progress"
if [ "${OPT_SPARSE}" -eq 1 ];