Updated script to reflect newest OpenWRT's paths
This commit is contained in:
parent
d9bd2aeda8
commit
2f8e86a853
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
for p in `find /sys/devices/platform/leds-gpio/leds -name trigger`
|
# Put this in rc.local (can be done via LuCI). Avoid using cron or similar hacks for the simple startup task :)
|
||||||
|
for p in `find /sys/devices/platform/leds/leds -name trigger`
|
||||||
do
|
do
|
||||||
echo none > $p
|
echo none > $p
|
||||||
done
|
done
|
||||||
|
|
||||||
for p in `find /sys/devices/platform/leds-gpio/leds -name brightness`
|
for p in `find /sys/devices/platform/leds/leds -name brightness`
|
||||||
do
|
do
|
||||||
echo 0 > $p
|
echo 0 > $p
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user