Make OS X kext installation work irrespective of current directory

Esse commit está contido em:
Benjamin Dobell
2015-02-21 00:12:51 +11:00
commit 30f1968ff3
+2 -1
Ver Arquivo
@@ -1,6 +1,7 @@
#!/bin/bash
BASEDIR=$(dirname $0)
echo 'Installing Driver...'
sudo cp -R heimdall.kext /System/Library/Extensions
sudo cp -R "$BASEDIR/heimdall.kext" /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions/heimdall.kext
sudo chown -R root:wheel /System/Library/Extensions/heimdall.kext
sudo kextload /System/Library/Extensions/heimdall.kext