From 44ecee3884f0beb492d4cea1cf1732ab78825ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 7 Jun 2013 10:27:23 +0200 Subject: [PATCH] add led blinking --- copy_to_final.sh | 1 + fs/etc/rc.local | 1 + 2 files changed, 2 insertions(+) diff --git a/copy_to_final.sh b/copy_to_final.sh index bb194d4..c14aa7f 100755 --- a/copy_to_final.sh +++ b/copy_to_final.sh @@ -13,6 +13,7 @@ fi # prepare fs archive tar -cvpzf backup.tar.gz -C fs/ . tar -xzf backup.tar.gz -C ${CHROOT_PATH}/ +cp deb/led ${CHROOT_PATH}/usr/sbin/led #sudo dd bs=4M if=NEW_FINAL_2013-02-09-wheezy-raspbian.img of=/dev/sdd diff --git a/fs/etc/rc.local b/fs/etc/rc.local index 68f0d11..ee56e62 100755 --- a/fs/etc/rc.local +++ b/fs/etc/rc.local @@ -20,6 +20,7 @@ fi if [ -e /dev/sda ]; then if [ -e /dev/sdb ]; then cd /opt/groomer + /usr/sbin/led & ./init.sh /sbin/shutdown -h now fi