#!/bin/sh

# -- Unload our kext, if it exists, then delete it

echo 'kext pre-install script-----'
kextunload /System/Library/Extensions/AnyDataUSBDriver.kext
rm -rf /System/Library/Extensions/AnyDataUSBDriver.kext
rm -rf /System/Library/Caches/com.apple.kernelcaches
rm -rf /System/Library/Extensions.kextcache
rm -rf /System/Library/Extensions.mkext

exit 0
