Escape POSIX shell special characters in FIRST_USER_PASS

pull/382/head
Cole Rominger 2020-01-22 11:55:52 -07:00
parent f8f3d6fe93
commit 8e79577e45
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ export LOG_FILE="${WORK_DIR}/build.log"
export HOSTNAME=${HOSTNAME:-raspberrypi}
export FIRST_USER_NAME=${FIRST_USER_NAME:-pi}
FIRST_USER_PASS="$(printf "%q" "$FIRST_USER_PASS")"
export FIRST_USER_PASS=${FIRST_USER_PASS:-raspberry}
export WPA_ESSID
export WPA_PASSWORD