Skip to content

Commit

Permalink
use CURL to invoke update
Browse files Browse the repository at this point in the history
now that curl was merged, we can call upon the stock OTA reboot page.
  • Loading branch information
riptidewave93 committed Nov 19, 2013
1 parent b75e93e commit 7215fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnedcast-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ do
touch /cache/ota.zip

echo "PWNEDCAST-OTA: Rebooting into Flashcast To Update..."
reboot recovery
curl -H "Content-Type: application/json" http://localhost:8008/setup/reboot -d '{"params":"ota"}' -X POST
fi
fi
fi
Expand Down

0 comments on commit 7215fe4

Please sign in to comment.