I will put this plist in /Library/LaunchDaemons/
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>info.kylebirch.system.plist</string> <key>Program</key> <string>/etc/rc.wakeup</string> <key>RunAtLoad</key> <true/> </dict> </plist>
and an almost exact copy in /Library/LaunchAgents
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>info.kylebirch.user.plist</string> <key>Program</key> <string>/etc/rc.wakeup</string> <key>RunAtLoad</key> <true/> </dict> </plist>
Will these execute rc.wakeup on both bootup AND login? Also, are there any edge cases? Are there any extenuating circumstances that would create unpredictable output? If so, how do I handle such situations?
No comments:
Post a Comment