hint on how to disable leds after boot in rc.local

This commit is contained in:
Gwenhael Le Moine 2014-02-27 22:35:25 +01:00
parent bc2ecda0c5
commit dfaaf2c919

6
build.sh Normal file → Executable file
View file

@ -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 <<EOF >> $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