MagiskOnWSALocal/scripts/init.lsp.cust.rc
2024-02-10 03:46:33 +08:00

12 lines
538 B
Plaintext

on post-fs
mkdir /mnt/cust 0775 system system
mount erofs loop@${MAGISKTMP}/cust.img /mnt/cust ro,seclabel
wait /system_ext
mount overlay overlay /system_ext lowerdir=/mnt/cust/system_ext:/system_ext,seclabel
wait /product
mount overlay overlay /product lowerdir=/mnt/cust/product:/product,seclabel
wait /vendor
mount overlay overlay /vendor lowerdir=/mnt/cust/vendor:/vendor,seclabel
wait /system
mount overlay overlay /system/priv-app lowerdir=/mnt/cust/system/priv-app:/system/priv-app,seclabel