blob: a3228eb02afbb0d08a431f7737002a9a35582ba4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# old versions resided in /System/Library, remove.
rm -r /System/Library/Extensions/tun.kext
# unload an old extension (might fail)
kextunload /Library/Extensions/tun.kext
# Fix ownership. The installer gets this wrong *sigh*
chown -R root:wheel /Library/Extensions/tun.kext
chmod -R u=rwX,g=rX,o=rX /Library/Extensions/tun.kext
# load the new version
kextload /Library/Extensions/tun.kext
|