summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-08 01:41:11 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-08 01:41:11 +0100
commit5967371283f9d072176ba25d6631856a11c57cfc (patch)
treefbd6c84a478c6934b23f59994407875122f17263
parent59063c7ad77d3a438a9a677564395ecf8b66bf4e (diff)
downloadap01-5967371283f9d072176ba25d6631856a11c57cfc.tar
ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.gz
ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.bz2
ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.xz
ap01-5967371283f9d072176ba25d6631856a11c57cfc.zip
...
-rwxr-xr-xfiles/files/etc/rc.d/K01leds7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/files/etc/rc.d/K01leds b/files/files/etc/rc.d/K01leds
new file mode 100755
index 0000000..743fb41
--- /dev/null
+++ b/files/files/etc/rc.d/K01leds
@@ -0,0 +1,7 @@
1#!/bin/sh /etc/rc.common
2
3echo 0 > /sys/class/leds/blue\:dome/brightness
4cat /sys/class/leds/white\:dome/max_brightness > /sys/class/leds/white\:dome/brightness
5echo timer > /sys/class/leds/white\:dome/trigger
6echo 1000 > /sys/class/leds/white\:dome/delay_off
7echo 1000 > /sys/class/leds/white\:dome/delay_on \ No newline at end of file