Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
B #137: FreeBSD's lack of echo -e option
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlastimil Holer committed Nov 14, 2019
1 parent 3420656 commit 53ee309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/one-context.d/net-97-start-script
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 53ee309

Please sign in to comment.