aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/upgrade
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-24 09:18:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-24 09:18:12 -0300
commit0da1b5282d18982e28e8648c40e0e9e014782962 (patch)
treed3c8465141dd3c3fe91d4ef5902d86d584893b70 /share/hydractl/upgrade
parentc99d87b0819d7a10b84b371a5f21b75b447f9493 (diff)
downloadhydra-0da1b5282d18982e28e8648c40e0e9e014782962.tar.gz
hydra-0da1b5282d18982e28e8648c40e0e9e014782962.tar.bz2
Upgrade: run rpi-update
Diffstat (limited to 'share/hydractl/upgrade')
-rwxr-xr-xshare/hydractl/upgrade5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/upgrade b/share/hydractl/upgrade
index b591a48..4b81e7f 100755
--- a/share/hydractl/upgrade
+++ b/share/hydractl/upgrade
@@ -33,6 +33,11 @@ else
echo "Apt is locked, aborting."
fi
+# Upgrade raspberry
+if [ -x "/usr/bin/rpi-update" ]; then
+ rpi-update
+fi
+
# Upgrade all chroots
hydractl chroot-upgrade