I would like to have unix script run when the login screen appears when booting. It should run immediately and not when user enters username and password and logs in.
Is there any way to accomplish this?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
You can use launchd to run your script when the Login Window appears. Within your launchd job ticket, include the key pair:
Save your launchd job ticket,
.plist, file in the folder: