Enable reboot
authorCameron Ball <c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:07:15 +0000 (02:07 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:07:15 +0000 (02:07 +0800)
update.sh

index 202707b..3e03413 100755 (executable)
--- a/update.sh
+++ b/update.sh
@@ -33,7 +33,7 @@ if [[ -e "/mnt/usb-update/update.zip" ]] && [[ -e "/mnt/usb-update/update.sig" ]
     new_version=$(/home/pi/hdmi-switcher/hdmi-switcher version)
     if [[ "$current_version" != "$new_version" ]]; then
       printf "Restart required...\n"
-      #reboot
+      reboot
     fi
   else
     printf "\tSignature failure\n"