diff --git a/app/src/full/res/raw/utils.sh b/app/src/full/res/raw/utils.sh index 111ef57d0..d5432a21b 100644 --- a/app/src/full/res/raw/utils.sh +++ b/app/src/full/res/raw/utils.sh @@ -128,9 +128,9 @@ EOF # Migrate old hosts file to new module mv -f .core/hosts hosts/system/etc/hosts else - cp -af /system/etc/hosts hosts/system/etc/hosts + cp -f /system/etc/hosts hosts/system/etc/hosts fi - chcon u:object_r:system_file:s0 hosts/system/etc/hosts + magisk --clone-attr /system/etc/hosts hosts/system/etc/hosts touch hosts/update touch hosts/auto_mount cd /