slight speedup for setting e-lab light

This commit is contained in:
root 2017-03-13 22:53:06 +00:00
parent a3c7afa781
commit 4e0c608ba5
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ case "$ROOM_NUMBER" in
# echo -en "$COLOR_A" > /dev/udp/172.23.92.18/49152 &
COLOR_B_TMP=$COLOR_B
for i in 5 4 3; do
wget -q -O- http://172.23.92.5/ecmd?channel%20$i%20$(printf "%d" "0x${COLOR_B_TMP:0:2}") > /dev/null 2>&1
wget -q -O- http://172.23.92.5/ecmd?channel%20$i%20$(printf "%d" "0x${COLOR_B_TMP:0:2}") > /dev/null 2>&1 &
COLOR_B_TMP="$(echo "$COLOR_B_TMP" | cut -c3-)"
done
;;