Use base64 for START_SCRIPT_BASE64 decode

pull/89/head
Vlastimil Holer 7 years ago
parent 7246a09dfb
commit 16d375d6ea
No known key found for this signature in database
GPG Key ID: EB549BADEFD07C53

@ -8,7 +8,7 @@ START_SCRIPT_AVAILABLE=no
chmod 700 "${TMP_DIR}" chmod 700 "${TMP_DIR}"
if [ -n "$START_SCRIPT_BASE64" ]; then if [ -n "$START_SCRIPT_BASE64" ]; then
echo -en "$START_SCRIPT_BASE64" | openssl enc -d -base64 -A > $TMP_FILE echo -en "$START_SCRIPT_BASE64" | base64 -d > $TMP_FILE
START_SCRIPT_AVAILABLE=yes START_SCRIPT_AVAILABLE=yes
elif [ -n "$START_SCRIPT" ]; then elif [ -n "$START_SCRIPT" ]; then
echo -en "$START_SCRIPT" > $TMP_FILE echo -en "$START_SCRIPT" > $TMP_FILE

Loading…
Cancel
Save