Skip to content

Commit

Permalink
update to use new version file
Browse files Browse the repository at this point in the history
  • Loading branch information
riptidewave93 committed Dec 16, 2013
1 parent a85c78c commit 519beda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromecast-ota
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ROMName="EurekaROM"

# Build version, revision and device serial hash, normally no need to change these
BuildVersion="$(getprop ro.build.version.incremental)"
BuildRevision="$(cat /chrome/pwnedcast_ver)"
BuildRevision="$(cat /system/etc/chromecast-ota.rev)"
SerialHash=`busybox sha1sum /factory/serial.txt | busybox awk '{ print $1 }'` # We only use your serial hash

#URL for the Update Server
Expand All @@ -29,7 +29,7 @@ do
if test -f "/usr/bin/EurekaSettings" ; then
DISABLE_OTA="$(EurekaSettings get EurekaRom ota)"
else
if test -f "/chrome/disable_ota" ; then
if test -f "/system/etc/chromecast-ota.rev" ; then
DISABLE_OTA="0"
else
DISABLE_OTA="1"
Expand Down

0 comments on commit 519beda

Please sign in to comment.