mirror of https://github.com/CIRCL/Circlean
add led blinking
parent
30a90e990d
commit
44ecee3884
|
@ -13,6 +13,7 @@ fi
|
||||||
# prepare fs archive
|
# prepare fs archive
|
||||||
tar -cvpzf backup.tar.gz -C fs/ .
|
tar -cvpzf backup.tar.gz -C fs/ .
|
||||||
tar -xzf backup.tar.gz -C ${CHROOT_PATH}/
|
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
|
#sudo dd bs=4M if=NEW_FINAL_2013-02-09-wheezy-raspbian.img of=/dev/sdd
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ fi
|
||||||
if [ -e /dev/sda ]; then
|
if [ -e /dev/sda ]; then
|
||||||
if [ -e /dev/sdb ]; then
|
if [ -e /dev/sdb ]; then
|
||||||
cd /opt/groomer
|
cd /opt/groomer
|
||||||
|
/usr/sbin/led &
|
||||||
./init.sh
|
./init.sh
|
||||||
/sbin/shutdown -h now
|
/sbin/shutdown -h now
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue