diff --git a/examples/shell/openwrt/disable_leds_tplinkarcher.sh b/examples/shell/openwrt/disable_leds_tplinkarcher.sh new file mode 100644 index 0000000..a133cb6 --- /dev/null +++ b/examples/shell/openwrt/disable_leds_tplinkarcher.sh @@ -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