From 5967371283f9d072176ba25d6631856a11c57cfc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 8 Jan 2022 01:41:11 +0100 Subject: ... --- files/files/etc/rc.d/K01leds | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 files/files/etc/rc.d/K01leds (limited to 'files') 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 @@ +#!/bin/sh /etc/rc.common + +echo 0 > /sys/class/leds/blue\:dome/brightness +cat /sys/class/leds/white\:dome/max_brightness > /sys/class/leds/white\:dome/brightness +echo timer > /sys/class/leds/white\:dome/trigger +echo 1000 > /sys/class/leds/white\:dome/delay_off +echo 1000 > /sys/class/leds/white\:dome/delay_on \ No newline at end of file -- cgit v1.2.3