Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:SummitRoute/osxlockdown
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdabbad00 committed Jan 2, 2016
2 parents 6cf73f1 + fcafe03 commit 8319038
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"title": "Disable Bluetooth",
"check_command": "defaults read /Library/Preferences/com.apple.Bluetooth ControllerPowerState",
"check_command": "defaults read /Library/Preferences/com.apple.Bluetooth ControllerPowerState | grep 0",
"fix_command": "sudo defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState -int 0 && sudo killall -HUP blued",
"enabled": true
},
Expand Down Expand Up @@ -50,7 +50,7 @@
},
{
"title": "Require a password to wake the computer from sleep or screen saver",
"check_command": "defaults read com.apple.screensaver askForPassword | grep \"1\"",
"check_command": "defaults read com.apple.screensaver askForPassword | grep 1",
"fix_command": "defaults write com.apple.screensaver askForPassword -int 1",
"enabled": true
},
Expand Down

0 comments on commit 8319038

Please sign in to comment.