diff --git a/README.md b/README.md index 05cbca3..9d3d5fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -raspberry +Raspberry-bootstrap ========= First script to run after setting up SD for Raspberry Pi @@ -13,5 +13,5 @@ Usage From your home directory (/home/pi/) -curl -Lo- http://raw.github.com/rlowe/raspberry/master/raspberry-bootstrap | bash +curl -Lo- https://raw.githubusercontent.com/wikijm/raspberry-bootstrap/master/raspberry-bootstrap | bash diff --git a/raspberry-bootstrap b/raspberry-bootstrap index a693866..d1375d4 100755 --- a/raspberry-bootstrap +++ b/raspberry-bootstrap @@ -89,3 +89,18 @@ sudo aptitude -y dist-upgrade sudo aptitude -y autoclean sudo aptitude -y full-upgrade +echo "Install raspberry-motd" +cd /etc/profile.d/ +wget https://raw.githubusercontent.com/wikijm/raspberrypi-motd/master/motd.sh +chown root:root motd.sh +chmod +x motd.sh + +echo "Installing rpi-update" +sudo aptitude -y install ca-certificates git-core +sudo wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update + +echo "Updating firmware" +sudo rpi-update + +echo "Rebooting Raspberry" +sudo reboot