projects
/
hdmi-switcher.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable reboot
[hdmi-switcher.git]
/
update.sh
diff --git
a/update.sh
b/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"