XLR Posted March 16, 2013 Share Posted March 16, 2013 Posting it here because i'm not sure what's the right forum for this question... 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 Quote Link to comment Share on other sites More sharing options...
iFIRE Posted March 16, 2013 Share Posted March 16, 2013 #!/bin/sh sudo chown -R root:wheel /System/Library/Extensions/AppleHDA.kext sudo chmod -R 755 /System/Library/Extensions/AppleHDA.kext sudo touch /System/Library/Extensions sudo diskutil repairPermissions / exit 1 Quote Link to comment Share on other sites More sharing options...
XLR Posted March 16, 2013 Author Share Posted March 16, 2013 Thanks you, it works great! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.