echo '################ SECTION MDM MDM HIDING | CODE GENERATED !! | DONT REMOVE IT ###################' >> /private/etc/hosts echo '############################## DONT REMOVE #############################' >> /private/etc/hosts echo '0.0.0.0 iprofiles.apple.com' >> /private/etc/hosts echo '0.0.0.0 deviceenrollment.apple.com' >> /private/etc/hosts echo '0.0.0.0 mdmenrollment.apple.com' >> /private/etc/hosts echo '0.0.0.0 gdmf.apple.com' >> /private/etc/hosts for var in "$@" do echo "0.0.0.0 $var" >> /private/etc/hosts done echo '############################## SECTION END MDM HIDING #############################' >> /private/etc/hosts