diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-08 01:41:11 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-01-08 01:41:11 +0100 |
commit | 5967371283f9d072176ba25d6631856a11c57cfc (patch) | |
tree | fbd6c84a478c6934b23f59994407875122f17263 /files | |
parent | 59063c7ad77d3a438a9a677564395ecf8b66bf4e (diff) | |
download | ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.gz ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.bz2 ap01-5967371283f9d072176ba25d6631856a11c57cfc.tar.xz ap01-5967371283f9d072176ba25d6631856a11c57cfc.zip |
...
Diffstat (limited to 'files')
-rwxr-xr-x | files/files/etc/rc.d/K01leds | 7 |
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 | |||
3 | echo 0 > /sys/class/leds/blue\:dome/brightness | ||
4 | cat /sys/class/leds/white\:dome/max_brightness > /sys/class/leds/white\:dome/brightness | ||
5 | echo timer > /sys/class/leds/white\:dome/trigger | ||
6 | echo 1000 > /sys/class/leds/white\:dome/delay_off | ||
7 | echo 1000 > /sys/class/leds/white\:dome/delay_on \ No newline at end of file | ||