Add 'examples/shell/openwrt/disable_leds_tplinkarcher.sh'

This commit is contained in:
Jakub Filo 2021-09-09 21:14:58 +00:00
parent 64b0d1cc64
commit 910aba710c

View File

@ -0,0 +1,10 @@
#!/bin/sh
for p in `find /sys/devices/platform/leds-gpio/leds -name trigger`
do
echo none > $p
done
for p in `find /sys/devices/platform/leds-gpio/leds -name brightness`
do
echo 0 > $p
done