13 lines
195 B
Bash
13 lines
195 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
# updoot this
|
|
echo "Updating this repo..."
|
|
git pull 1>/dev/null
|
|
|
|
# run da raspberry pi config script
|
|
sudo raspi-config
|
|
|
|
echo "Rebooting now!"
|
|
sudo reboot
|
|
# sudo shutdown -r +5 |