From 5484f87566c95bf8f9fe7519a695333ec1bb3750 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Sat, 11 Dec 2021 15:30:55 +0700 Subject: [PATCH] Simulate OTA fail --- scripts/update/01-run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/update/01-run.sh b/scripts/update/01-run.sh index 23dbb22..92d9102 100755 --- a/scripts/update/01-run.sh +++ b/scripts/update/01-run.sh @@ -127,6 +127,10 @@ echo "Stopping existing containers" cat < "$UMBREL_ROOT"/statuses/update-status.json {"state": "installing", "progress": 70, "description": "Removing old containers", "updateTo": "$RELEASE"} EOF + +# Simulate crash here +false + cd "$UMBREL_ROOT" ./scripts/stop