Change so SuppressAutoInstall will not suppress a checkandinstallatstartup run.

git-svn-id: http://munki.googlecode.com/svn/trunk@610 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
Greg Neagle
2010-07-27 23:18:52 +00:00
parent f020f400f1
commit fe1b86e46a
+2 -1
View File
@@ -555,7 +555,8 @@ def main():
if not munkicommon.currentGUIusers():
# no GUI users
if getIdleSeconds() > 10:
if not munkicommon.pref('SuppressAutoInstall'):
if not munkicommon.pref('SuppressAutoInstall') or \
runtype == "checkandinstallatstartup":
# no GUI users, system is idle, so install
mustrestart = doInstallTasks()
else: