diff options
-rwxr-xr-x | coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh | 7 | ||||
-rwxr-xr-x | coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh b/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh index 48430389..4577709f 100755 --- a/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh +++ b/coin/provisioning/qtci-macos-10.12-x86_64/005-systemsetup.sh @@ -46,6 +46,7 @@ ExceptionSetInitialDelay=101 ExceptionSetDelay=102 ExceptionVNC=103 ExceptionNTS=104 +ExceptionDisableScreensaverPassword=105 try ( @@ -78,6 +79,8 @@ try EOT ) || throw $ExceptionDisableScreensaver + defaults write com.apple.screensaver askForPassword -int 0 || throw $ExceptionDisableScreensaverPassword + echo "Set keyboard type rates and delays" # normal minimum is 15 (225 ms) defaults write -g InitialKeyRepeat -int 15 || throw $ExceptionSetInitialDelay @@ -113,5 +116,9 @@ catch || { echo "Failed to set NTS." exit 1; ;; + $ExceptionDisableScreensaverPassword) + echo "Failed to disable requiring of password after screensaver is enabled." + exit 1; + ;; esac } diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh b/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh index 47bf03f8..920a2540 100755 --- a/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh +++ b/coin/provisioning/qtci-osx-10.11-x86_64/005-systemsetup.sh @@ -46,6 +46,7 @@ ExceptionSetInitialDelay=101 ExceptionSetDelay=102 ExceptionVNC=103 ExceptionNTS=104 +ExceptionDisableScreensaverPassword=105 try ( @@ -78,6 +79,8 @@ try EOT ) || throw $ExceptionDisableScreensaver + defaults write com.apple.screensaver askForPassword -int 0 || throw $ExceptionDisableScreensaverPassword + echo "Set keyboard type rates and delays" # normal minimum is 15 (225 ms) defaults write -g InitialKeyRepeat -int 15 || throw $ExceptionSetInitialDelay @@ -113,6 +116,10 @@ catch || { echo "Failed to set NTS." exit 1; ;; + $ExceptionDisableScreensaverPassword) + echo "Failed to disable requiring of password after screensaver is enabled." + exit 1; + ;; esac } |