mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 19:08:29 +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
|
||||
${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 /
|
||||
|
Loading…
x
Reference in New Issue
Block a user