Created
May 12, 2015 02:11
-
-
Save treehouse-su/af5213ad41aa0f4a4864 to your computer and use it in GitHub Desktop.
jack in the box for wifi and blink
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo pirateship rename pirate1 | |
sudo pirateship adapter pirate.sh/ip "" none | |
sudo ifdown wlan0 | |
sudo ifup wlan0 | |
sudo apt-get install libusb-1.0-0-dev | |
cd /root | |
git clone https://github.com/todbot/blink1.git | |
cd blink1/commandline | |
make | |
cd /boot | |
mv autorun.sh autoran.sh | |
touch autorun.sh | |
chmod 755 autorun.sh | |
echo 'watch -n3 "/root/blink1/commandline/blink1-tool --blink 1"' > /boot/autorun.sh | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment