Commit 54d1207f authored by topjohnwu's avatar topjohnwu

Auto remove post_ota.sh

parent 003e44fb
...@@ -77,6 +77,7 @@ post_ota() { ...@@ -77,6 +77,7 @@ post_ota() {
cat << EOF > post-fs-data.d/post_ota.sh cat << EOF > post-fs-data.d/post_ota.sh
${1}/bootctl mark-boot-successful ${1}/bootctl mark-boot-successful
rm -f ${1}/bootctl rm -f ${1}/bootctl
rm -f ${1}/post-fs-data.d/post_ota.sh
EOF EOF
chmod 755 post-fs-data.d/post_ota.sh chmod 755 post-fs-data.d/post_ota.sh
cd / cd /
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment