Created
April 15, 2016 16:19
-
-
Save mavieth/99517eb8d89b25159577d4332ac35a0f to your computer and use it in GitHub Desktop.
This file contains hidden or 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/bash -e | |
| # First do apt-get update | |
| /usr/bin/sudo apt-get update | |
| # Then the upgrade | |
| /usr/bin/sudo apt-get -y upgrade | |
| # Finally rpi-update | |
| /usr/bin/sudo rpi-update | |
| # Trigger a reboot | |
| /usr/bin/sudo shutdown -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment