From 16d375d6eaf3bab74835c217ce8347c5a316b4dd Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Tue, 12 Sep 2017 19:26:19 +0200 Subject: [PATCH] Use base64 for START_SCRIPT_BASE64 decode --- src/etc/one-context.d/net-97-start-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/one-context.d/net-97-start-script b/src/etc/one-context.d/net-97-start-script index 0c5b865..3dbd246 100755 --- a/src/etc/one-context.d/net-97-start-script +++ b/src/etc/one-context.d/net-97-start-script @@ -8,7 +8,7 @@ START_SCRIPT_AVAILABLE=no chmod 700 "${TMP_DIR}" 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 elif [ -n "$START_SCRIPT" ]; then echo -en "$START_SCRIPT" > $TMP_FILE