From 54d1207f92f5a33f47c2ddc0fbd7d4a05e7ebba3 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 24 Apr 2019 01:59:47 -0400 Subject: [PATCH] Auto remove post_ota.sh --- app/src/main/res/raw/utils.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/raw/utils.sh b/app/src/main/res/raw/utils.sh index 5dda5e38b..66d2cafe1 100644 --- a/app/src/main/res/raw/utils.sh +++ b/app/src/main/res/raw/utils.sh @@ -77,6 +77,7 @@ post_ota() { cat << EOF > post-fs-data.d/post_ota.sh ${1}/bootctl mark-boot-successful rm -f ${1}/bootctl +rm -f ${1}/post-fs-data.d/post_ota.sh EOF chmod 755 post-fs-data.d/post_ota.sh cd /