Created
September 5, 2013 08:46
-
-
Save hughsaunders/6447588 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Disable BT on local machine and enable it on remote machine, so KB/Mouse reconnect to remote machine. | |
#ensure local bluetooth is off | |
blueutil off | |
#enable imac bluetooth | |
ssh [email protected] '/usr/local/bin/blueutil on' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Disable BT on remote machine and enable it on local machine, so KB/Mouse reconnect to local machine. | |
#ensure local bluetooth is off | |
blueutil off | |
#disable imac bluetooth | |
ssh [email protected] '/usr/local/bin/blueutil off' | |
#enable local bluetooth | |
blueutil on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment