Merge pull request #116 from JRWR/patch-1

Update File to randomize gender in build scripts
This commit is contained in:
evilsocket
2019-10-03 23:06:01 +02:00
committed by GitHub

View File

@ -335,7 +335,13 @@ fi
setup_raspbian setup_raspbian
provision_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" echo -e "[+] One more step: dd if=../${PWNI_OUTPUT} of=<PATH_TO_SDCARD> bs=4M status=progress"
if [ "${OPT_SPARSE}" -eq 1 ]; if [ "${OPT_SPARSE}" -eq 1 ];