Fixed error in LED blink function
parent
36f22a0607
commit
85ea267c89
|
@ -125,15 +125,15 @@ if [ $(grep -v '\$:' /etc/turtle/Responder/logs/*NTLM* 2>/dev/null) ];
|
||||||
finished
|
finished
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo 255 > /sys/class/leds/lan-turtle\:orange\:system/brightness
|
echo 255 > /sys/class/leds/lan-turtle\:orange\:system/brightness 2>&1
|
||||||
/usr/bin/sleep 0.04
|
sleep 0.04
|
||||||
echo 0 > /sys/class/leds/lan-turtle\:orange\:system/brightness
|
echo 0 > /sys/class/leds/lan-turtle\:orange\:system/brightness 2>&1
|
||||||
/usr/bin/sleep 0.04
|
sleep 0.04
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
function finished {
|
function finished {
|
||||||
echo 255 > /sys/class/leds/turtle\:yellow\:system/brightness
|
echo 255 > /sys/class/leds/turtle\:yellow\:system/brightness 2>&1
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue