Skip to content

Commit

Permalink
Allow for usage on 10.12
Browse files Browse the repository at this point in the history
  • Loading branch information
ajleach committed Sep 20, 2016
1 parent a12cab7 commit 16d1d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setupscript/setupscript.sh
Expand Up @@ -85,7 +85,7 @@ sleep 5
sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false
sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist
fi
if [[ $(sw_vers -productVersion | grep '10.[10-11]') ]]
if [[ $(sw_vers -productVersion | grep '10.[10-12]') ]]
then
sudo launchctl enable system/com.apple.screensharing
sleep 5
Expand Down Expand Up @@ -136,7 +136,7 @@ fi
echo "...."
echo "...."
# YOSEMITE / EL CAPITAN SPECIFIC SETTINGS
if [[ $(sw_vers -productVersion | grep '10.[10-11]') ]]
if [[ $(sw_vers -productVersion | grep '10.[10-12]') ]]
then
sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState '0' > /dev/null 2>&1
sudo defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekKeyboard '0' > /dev/null 2>&1
Expand Down

0 comments on commit 16d1d55

Please sign in to comment.