Forked from hughsaunders/release_bt_keyboard.sh
Last active
December 29, 2015 08:39
-
-
Save ziogaschr/7644441 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
#!/bin/sh | |
# Disable BT on local machine and enable it on remote machine, so KB/Mouse reconnect to remote machine. | |
#ensure local bluetooth is off | |
/usr/local/bin/blueutil off | |
#enable imac bluetooth | |
ssh [email protected] '/usr/local/bin/blueutil on' | |
# this is needed for ControlPlane use | |
exit 0 |
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
#!/bin/sh | |
# Disable BT on remote machine and enable it on local machine, so KB/Mouse reconnect to local machine. | |
#ensure local bluetooth is off | |
/usr/local/bin/blueutil off | |
#disable imac bluetooth | |
ssh [email protected] '/usr/local/bin/blueutil off' | |
#enable local bluetooth | |
/usr/local/bin/blueutil on | |
# this is needed for ControlPlane use | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment