From dfaaf2c919f3b6d066ca0461990664fb9fb73c1f Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 27 Feb 2014 22:35:25 +0100 Subject: [PATCH] hint on how to disable leds after boot in rc.local --- build.sh | 6 ++++++ 1 file changed, 6 insertions(+) mode change 100644 => 100755 build.sh diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 61d212d..2e5e7c3 --- a/build.sh +++ b/build.sh @@ -193,6 +193,12 @@ cp $CWD/scripts/disable_led.sh $DEST/output/sdcard/bin/disable_led.sh # make it executable chmod +x $DEST/output/sdcard/bin/disable_led.sh +cat <> $DEST/output/sdcard/etc/rc.d/rc.local + +# Uncomment the following line to turn off the leds after booting +# /bin/disable_led.sh +EOF + # scripts for autoresize at first boot from cubian cp $CWD/scripts/resize2fs-arch.sh $DEST/output/sdcard/root/resize2fs-root.sh # make it executable