Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Login Hook on Snow Leopard Server

I am having trouble getting a login hook to work. I am trying to get a cache file to move into each users profile to prevent Logic 9 from scanning plugins for every user that logs in.

The script is as below renamed to *.hook and made executable. The first part is to do with Final Cut pro and works fine so the script is running. First script tried to copy the cache file but failed so I tried to copy a text file then rename it. The Caches folder is made in the default user template.

#!/bin/bash

rm /Users/ /Library/Preferences/Final*/Final
cp /Users/Shared/Cache/com.apple.audiounits.cache.txt ~/Library/Caches
mv ~/Library/Caches/com.apple.audiounits.cache.txt ~/Library/Caches/com.apple.audiounits.cache

Does anyone know how I would get this to work.

Mike 🙂

iMac, Mac OS X (10.6.4), Macs Bound to Open and Active Directory.

Posted on Sep 15, 2010 8:42 AM

Reply
1 reply

Login Hook on Snow Leopard Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.