#!/bin/bash echo inst post >> /tmp/prxinst.log echo path $2 >>/tmp/prxinst.log chown -R root:wheel "$2/Proxifier.app" >> /tmp/prxinst.log 2>> /tmp/prxinst.log chmod -R 0755 "$2/Proxifier.app" >> /tmp/prxinst.log 2>> /tmp/prxinst.log chmod 04755 "$2/Proxifier.app/Loader" >> /tmp/prxinst.log 2>> /tmp/prxinst.log rm -R /System/Library/PrivateFrameworks/NetInfo.framework/Resources/lookupd/Agents/Proxifier.bundle niutil -destroyprop . /locations/lookupd/hosts LookupOrder rm -R /Library/DirectoryServices/PlugIns/ProxifierDSPlugIn.dsplug kextunload -b com.Proxifier.MacOSX.kext killall lookupd killall DirectoryService exit 0;