From 7215fe47402348a608b259ffd5638f3e3134df95 Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Tue, 19 Nov 2013 10:34:39 -0600 Subject: [PATCH] use CURL to invoke update now that curl was merged, we can call upon the stock OTA reboot page. --- pwnedcast-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwnedcast-update.sh b/pwnedcast-update.sh index 7f34468..fbb9e85 100644 --- a/pwnedcast-update.sh +++ b/pwnedcast-update.sh @@ -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