From 53ee3094229806fca52e998f7d2a2ab22dff3f60 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Thu, 14 Nov 2019 11:12:42 +0100 Subject: [PATCH] B #137: FreeBSD's lack of echo -e option --- src/etc/one-context.d/net-97-start-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/one-context.d/net-97-start-script b/src/etc/one-context.d/net-97-start-script index c64e9e1..09bc538 100755 --- a/src/etc/one-context.d/net-97-start-script +++ b/src/etc/one-context.d/net-97-start-script @@ -8,10 +8,10 @@ START_SCRIPT_AVAILABLE=no chmod 700 "${TMP_DIR}" if [ -n "$START_SCRIPT_BASE64" ]; then - echo -en "$START_SCRIPT_BASE64" | base64 -d > $TMP_FILE + echo "${START_SCRIPT_BASE64}" | base64 -d > $TMP_FILE START_SCRIPT_AVAILABLE=yes elif [ -n "$START_SCRIPT" ]; then - echo -en "$START_SCRIPT" > $TMP_FILE + echo "${START_SCRIPT}" > $TMP_FILE START_SCRIPT_AVAILABLE=yes fi