mirror of
https://bitbucket.org/gwenhael/cubietruck-slackware.git
synced 2024-12-25 21:58:38 +01:00
hint on how to disable leds after boot in rc.local
This commit is contained in:
parent
bc2ecda0c5
commit
dfaaf2c919
1 changed files with 6 additions and 0 deletions
6
build.sh
Normal file → Executable file
6
build.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Reference in a new issue