Skip to content

Commit

Permalink
only try to copy the binary to make the LED blink if it exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Oct 5, 2014
1 parent e1454aa commit 8c497b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion copy_to_final.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ fi
tar -cvpzf backup.tar.gz -C fs/ .
tar -xzf backup.tar.gz -C ${CHROOT_PATH}/
chown root:root ${CHROOT_PATH}/etc/sudoers
cp deb/led ${CHROOT_PATH}/usr/sbin/led
if [ -f deb/led ]; then
cp deb/led ${CHROOT_PATH}/usr/sbin/led
fi
cp -rf midi ${CHROOT_PATH}/opt/

# needed just once, make sure the size of the partition is correct
Expand Down

0 comments on commit 8c497b7

Please sign in to comment.