I'm trying to make a simple kext installer via packagemaker, but having troubles with postinstall script in order to make it work in ML:
#!/bin/sh cd /System/Library/Extensions sudo chown -R root:wheel AppleHDA.kext sudo chmod -R 755 AppleHDA.kext sudo rm /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache sudo diskutil repairpermissions /System/Library/Extensions exit 0
Can you please tell me what am I doing wrong? I'm afraid all this script is full of wrong...
Thanks in advance



Sign In
Create Account

Find content
Not Telling



