]> gitweb.fluxo.info Git - hydra.git/commitdiff
Upgrade: run rpi-update
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 24 Jun 2016 12:18:12 +0000 (09:18 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 24 Jun 2016 12:18:12 +0000 (09:18 -0300)
share/hydractl/upgrade

index b591a48ee998a03251559e8da6642a06f2212529..4b81e7f8419a163454de039692a1d1ee0c851104 100755 (executable)
@@ -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