From ec76343af64d2a12ffdba5872433b611cf2a3a49 Mon Sep 17 00:00:00 2001 From: Gerrit Linnemann Date: Tue, 10 Nov 2015 22:23:18 +0100 Subject: [PATCH] Debug changes --- kitchenradio/bin/start_radio.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kitchenradio/bin/start_radio.sh b/kitchenradio/bin/start_radio.sh index dc27c87..c26442c 100755 --- a/kitchenradio/bin/start_radio.sh +++ b/kitchenradio/bin/start_radio.sh @@ -6,16 +6,14 @@ MY_PATH="$(pwd)" . $MY_PATH/bin/_inc/def_text_coloring.sh -stream2play=`cat /tmp/kitchenradio.m3u | grep http` +stream2play="$(cat /tmp/kitchenradio.m3u | grep http)" ### PRORGAM echo -echo "URL from m3u: " -cat /tmp/kitchenradio.m3u | grep http -echo "URL from var: " -echo $stream2play +echo "URL from m3u: $stream2play" +echo echo echo "${BGre}Start playing $stream2play ...${RCol}"