projects
/
hdmi-switcher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7064f57
)
Enable reboot
author
Cameron Ball
<c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:07:15 +0000
(
02:07
+0800)
committer
Cameron Ball
<c.ball1729@gmail.com>
Tue, 14 Apr 2015 18:07:15 +0000
(
02:07
+0800)
update.sh
patch
|
blob
|
history
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"