Greetings all - I'm working on adjusting our first run scripts and am experimenting with unloading and re-loading the login window in order to allow for time for first run scripts to run properly on our image. Things look good with adding this line at the beginning of the process:
/bin/launchctl unload /System/Library/LaunchDaemons/com.apple.loginwindow.plist
and then this line at the end:
/bin/launchctl load /System/Library/LaunchDaemons/com.apple.loginwindow.plist
However, the machine isn't enrolling. Our scripts without these lines work fine with enrollment so this is a bit odd. Should I perhaps add a sleep command to delay the unloading of the window or something? Perhaps unloading the window is messing with something else?
Casper 8.73
10.8.5
