#!/bin/sh
#
# The installer determined that this is an upgrade which means a previous KEXT
# is already installed. It also means that the previous KEXT is probably loaded
# so we need to first unload the KEXT.
#

# 1. Unload the KEXT.
echo "Unloading kernel extension MTSUSBModems.kext"
sudo kextunload /System/Library/Extensions/MTSUSBModems.kext

exit 0
