From 9546a1bf671b987669176af87b6ce69589fe6361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20M=C3=A4rki?= Date: Wed, 8 Mar 2017 08:06:55 +0100 Subject: [PATCH] Fix script. --- storage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage.sh b/storage.sh index b38c702..a0a283a 100755 --- a/storage.sh +++ b/storage.sh @@ -19,7 +19,7 @@ STATUS=$(${COMMAND}) cat ${RESPONSE} | python -m json.tool rm -f ${RESPONSE} -COMMAND2="curl -H \"Content-Type: application/json\" -d '{\"sources\": [{\"stream\": \"tcp://SINEG01-CVME-LLRF1:20000\"},{\"stream\": \"tcp://SINEG01-CVME-LLRF2:20000\"}]}' ${HOST}${HTTP_ADDRESS} | python -m js$ +COMMAND2="curl -H \"Content-Type: application/json\" -d '{\"sources\": [{\"stream\": \"tcp://SINEG01-CVME-LLRF1:20000\"},{\"stream\": \"tcp://SINEG01-CVME-LLRF2:20000\"}]}' ${HOST}${HTTP_ADDRESS} | python -m json.tool echo "Alternative command: "${COMMAND2} #echo ${STATUS}