Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Okay, wasn't sure that tunnelblick would run it as root. If I take the command inside of the su and drop it directly into terminal, it runs fine. If I remove the su part and just have the command in the up script, nothing happens. # Generate an updated plist with the proper path DIR="$(dirname "${0}")" LEASE_WATCHER="${DIR}/LeaseWatch.plist" sed -e "s|\${DIR}|${DIR}|g" "${LEASE_WATCHER}.template" > "${LEASE_WATCHER}" launchctl load "${LEASE_WATCHER}" # autoconnect server2 mkdir /Volumes/Data mount_afp afp://192.168.2.2/Data /Volumes/Data open /Volumes/Data exit 0
Did you forget a line? It isn't working, and when I stick the code directly into Terminal, it asks for my password. Possibly that's why it isn't running in the up script too? Actually, removing the su line (and it's counterpart ' below) doesn't work either. I would expect it to at least make the dir and possibly connect, but not let me access the folder. (and yep, set nameserver is checked)
That's brilliant! No longer do I have to wait for bloated Acrobat to open do merge documents. My issue was I opened both PDFs up at once, which stuck them both in the sidebar as separate PDFs, and wouldn't let me do it. Trick is to just open the one, and then do the dragging. Thanks much!
@robsoft: I didn't know about the joining of PDFs. Can you explain how this happens? (Or am I misunderstanding you?) IE: document1.pdf and document2.pdf and then save it out as a merged document.pdf? I've tried the obvious stuff and it doesn't seem to work.