Explorar el Código

Reset the fan controller now that it subscribes to state

Zachary Kotlarek hace 13 años
padre
commit
0883bdfb35
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      dmx/reset.sh

+ 2 - 1
dmx/reset.sh

@@ -2,8 +2,9 @@
 
 ROPE="`ps -A -o pid=,command= | grep -v grep | grep rope.pl | awk '{print $1}'`"
 LEDS="`ps -A -o pid=,command= | grep -v grep | grep leds.pl | awk '{print $1}'`"
+FAN="`ps -A -o pid=,command= | grep -v grep | grep fan.pl | awk '{print $1}'`"
 
-for i in $ROPE $LEDS; do
+for i in $ROPE $LEDS $FAN; do
 	if [ -n "${i}" ]; then
 		kill $i
 	fi