spawn to exec

This commit is contained in:
2015-11-15 22:19:54 +01:00
parent 123175287a
commit 7b3591a206
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ MY_PATH="$(pwd)"
echo "Action: $1"
case $1 in
1) echo "play" ;;
"play") sh $MY_PATH/bin/start_radio.sh ;;
*) echo "INVALID ACTION!" ;;
esac
+1 -1
View File
@@ -19,4 +19,4 @@ echo
echo "${BGre}Start playing $stream2play ...${RCol}"
echo
#mplayer -slave -quiet $stream2play
mplayer -slave -quiet $stream2play