Moved disable_led.sh into script folder

This commit is contained in:
Deksan 2014-01-04 14:44:59 +01:00
parent b88f72c140
commit b1394c8b25

View file

@ -161,14 +161,7 @@ APT::Install-Suggests "0";
END
# script to turn off the LED blinking
cat <<EOT > $DEST/output/sdcard/etc/init.d/disable_led.sh
#
# Turn off bright flashing LEDs!!
echo 0 > /sys/class/leds/blue:ph21:led1/brightness
echo 0 > /sys/class/leds/orange:ph20:led2/brightness
echo 0 > /sys/class/leds/white:ph11:led3/brightness
echo 0 > /sys/class/leds/green:ph07:led4/brightness
EOT
cp $SRC/scripts/disable_led.sh $DEST/output/sdcard/etc/init.d/disable_led.sh
# make it executable
chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/init.d/disable_led.sh"