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 /