I'm trying to configure a NetBoot image so that a script will automatically launch on the target machine after it boots from the image
I've been using this article as a reference:
my question is: when the following command is run...
# -w flag permanently adds the plist to the Launch Daemon
sudo launchctl load -w /Library/LaunchDaemons/com.startup.plist
...where is the resulting permanent configuration entry stored on the hard drive?
To clarify: I'm not asking for the location of the .plist file, I'm asking how/where does the system remember the .plist files that you've configured to run on startup using the 'sudo launchctl load' command?
launchctl loadif you want to load a daemon after startup, or if it's been explicitly disabled and you want to override that. – Gordon Davisson Mar 05 '19 at 23:13