Script errors when run by launchd at startup, but not when run in Terminal
- by Mechcozmo
Hello.
I'm attempting to create a RAM disk that loads the previous contents when the system starts up, and every six hours writes the contents to a disk image. Currently, when you run the script from the terminal ("sudo bash LogToRAM.sh") everything works fine. But when run from launchd during startup, it doesn't work.
Here's the lines from the…