slight speedup for setting e-lab light
This commit is contained in:
parent
a3c7afa781
commit
4e0c608ba5
2
light.sh
2
light.sh
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue