mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-13 11:51:50 +00:00
Make module mirror read only
This commit is contained in:
@@ -117,8 +117,8 @@ EOF
|
||||
|
||||
add_hosts_module() {
|
||||
# Do not touch existing hosts module
|
||||
[ -d $MAGISKTMP/modules/hosts ] && return
|
||||
cd $MAGISKTMP/modules
|
||||
[ -d $NVBASE/modules/hosts ] && return
|
||||
cd $NVBASE/modules
|
||||
mkdir -p hosts/system/etc
|
||||
cat << EOF > hosts/module.prop
|
||||
id=hosts
|
||||
|
||||
Reference in New Issue
Block a user