Commit 8645ff83 authored by Iustin Pop's avatar Iustin Pop
Browse files

daemon-utils: remove usage of here-docs

In some versions of bash, here-docs and here-strings use temporary
files, which means daemon-util needs a writable temporary filesystem.
Since echo is a bash builtin anyway, it's simple to switch to it and
remove this dependency.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 7a8da378
......@@ -59,7 +59,7 @@ start() {
local name="$1"; shift
# Convert daemon name to uppercase after removing "ganeti-" prefix
local ucname=$(tr a-z A-Z <<< ${name#ganeti-})
local ucname=$(echo ${name#ganeti-} | tr a-z A-Z)
# Read $<daemon>_ARGS and $EXTRA_<daemon>_ARGS
eval local args="\"\$${ucname}_ARGS \$EXTRA_${ucname}_ARGS\""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment