mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-21 09:28:31 +00:00
Auto remove post_ota.sh
This commit is contained in:
parent
003e44fb84
commit
54d1207f92
@ -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 /
|
||||||
|
Loading…
x
Reference in New Issue
Block a user