Skip to content

Instantly share code, notes, and snippets.

@martinheidegger
Created April 14, 2014 06:15
Show Gist options
  • Save martinheidegger/10620696 to your computer and use it in GitHub Desktop.
Save martinheidegger/10620696 to your computer and use it in GitHub Desktop.
A tiny little script that fixes the audio of a macbook air after going to sleep mode with headphones.
#!/bin/bash
sudo killall coreaudiod
sudo kextunload /System/Library/Extensions/AppleHDA.kext
sudo kextload /System/Library/Extensions/AppleHDA.kext
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment