Skip to content

Instantly share code, notes, and snippets.

@loyaltyarm
Created October 15, 2015 09:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loyaltyarm/069c7fab1386c9d7f3fd to your computer and use it in GitHub Desktop.
Save loyaltyarm/069c7fab1386c9d7f3fd to your computer and use it in GitHub Desktop.
# Append to defaults.yaml
managedmac::execs::commands:
disable_bluetooth_assistant_popups_keyboard:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekKeyboard '0'"
disable_bluetooth_assistant_popups_mouse:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekPointingDevice '0'"
disable_bluetooth:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState '0'"
unload_bluetooth_service:
command: "/bin/launchctl unload /System/Library/LaunchDaemons/com.apple.blued.plist"
reload_blue_tooth_service:
command: "/bin/launchctl load /System/Library/LaunchDaemons/com.apple.blued.plist"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment