Skip to content

Instantly share code, notes, and snippets.

@Sciss
Created February 23, 2012 00:03
Show Gist options
  • Save Sciss/1888530 to your computer and use it in GitHub Desktop.
Save Sciss/1888530 to your computer and use it in GitHub Desktop.
mac_infrared.sh
# on a "managed" mac where some idiot disabled certain preferences panes?
# just do it in the shell... enable/disable infrared reception:
defaults read /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -bool yes
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -bool no
@Sciss
Copy link
Author

Sciss commented Feb 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment