#!/bin/bash -x 

cp -p Info.plist /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents
cp -p Platforms.xml.zlib layout12.xml.zlib /System/Library/Extensions/AppleHDA.kext/Contents/Resources
exec ./patch-hda.pl 14f1506e

touch /System/Library/Extensions

