Whamcloud - gitweb
Files needed by OS X package
[fs/lustre-release.git] / build / osxpack / unload_lustre
1 #!/bin/sh
2
3 mount | grep lustre > /dev/null
4 if [ $? -eq 0 ]; then
5         echo "Please unmount lustre before unload modules."
6         exit 1
7 fi
8 kextunload /System/Library/Extensions/llite.kext
9 kextunload /System/Library/Extensions/mdc.kext
10 kextunload /System/Library/Extensions/lov.kext
11 kextunload /System/Library/Extensions/osc.kext
12 kextunload /System/Library/Extensions/ptlrpc.kext
13 kextunload /System/Library/Extensions/ptlrpcs.kext
14 kextunload /System/Library/Extensions/obdclass.kext
15 kextunload /System/Library/Extensions/lvfs.kext
16 kextunload /System/Library/Extensions/ksocknal.kext
17 kextunload /System/Library/Extensions/portals.kext
18 kextunload /System/Library/Extensions/libcfs.kext