mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2025-01-31 19:57:22 +01:00
Moved disable_led.sh into script folder
This commit is contained in:
parent
b88f72c140
commit
b1394c8b25
1 changed files with 1 additions and 8 deletions
9
build.sh
9
build.sh
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue