hi guys...i'm a newb...i've been trying to get this to work with no luck...
Here's what I have:
Mac Mini running Os X 10.7.3
Readynas Duo NV+ [my itunes library is in a share called "media" on this device]
Here's what I did:
1. Downloaded your file from post 1
2. Created a folder called "Scripts" and placed it in what I thought was my root folder [i clicked on the Macintosh HD icon on my desktop and placed folder inside there; I thought this was my root folder. If it is not, please let me know how I can get there]
3. I placed the mount.sh script and wolcmd file in my newly created folder and updated according to your instructions. [i think] I attached my textedit file just in case - passwords removed. By the way, my true password contains an "!" so I substituted it with %21 in the script. The URL encoding site you list does not give this as the special symbol for "!" but other URL encoding sites do. Is this a problem? It did not seem to work either way I did it - using a "!" or using the special code.
4. I placed the plist file in my user/library/launchagent directory [i turned on hidden files on my mac; I then clicked on the Macintosh HD icon; then the User folders; I then clicked on my username folder represented by the "house" icon; I then clicked on the hidden Library folder; I then clicked on the Launch Agents folder; and then I copied the file over]
5. I then opened Terminal and copied the first line of text you said needed to go in there [minus the dash in front]. I was then prompted to enter my password, which I did. I then copied the second line of text you said needed to go in there [minus the dash in front].
6. I then restarted my computer, and unfortunately my NAS share called "media" did not automount.
You mentioned that if it didn't work to double-check permissions but I'm not sure where exactly you want this to be checked. [inside NAS?; mac mini; permissions to just the script file?] As I mentioned before, I'm not a computer programmer or developer, but just trying to follow the instructions as listed. I did navigate to my "Scripts" folder using Finder and clicked "Get Info" I then changed all privileges for all names listed at the bottom of the window to "Read & Write". I also did the same for the actual mount.sh file. However, these changes did not seem to correct the problem.
I then attempted to run the checks you mentioned using Terminal. When I typed in "/Scripts/mount.sh" in the Terminal window, it returned this message:
"/bin/bash: bad interpreter: Operation not permitted"
When I typed "launchctl list" in the Terminal window, it returned a list of items and I did notice that it had a 1 in front of the plist file that I added. So, again, this brings me back to the possibility that I did not place the plist file in my root folder. And I dont know how to get there.
Any thoughts, suggestions, solutions?
Thanks in advance!!!