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

This commit is contained in:
Jakub Filo 2021-09-09 21:14:58 +00:00
parent d76b4d380f
commit 7c885facb3
1 changed files with 10 additions and 0 deletions

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