Add 'examples/shell/openwrt/disable_leds_tplinkarcher.sh'
This commit is contained in:
parent
64b0d1cc64
commit
910aba710c
10
examples/shell/openwrt/disable_leds_tplinkarcher.sh
Normal file
10
examples/shell/openwrt/disable_leds_tplinkarcher.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user