Post Action Scripts
Just needing a little clarification on some post action scripts. When trying to execute some post actions I've read to refer to $3 in my destination paths. In an example I've tried something like this to set a login script:
#!/bin/sh
cd "$3"/
defaults write com.apple.loginwindow LoginHook "/Library/Management/scripts/byhostfix-105.pl"
I wasn't able to get this to work. It does work if I execute it manually after imaging. Should I actually be putting $3 in my path of the LoginHook?
I know I could try using MCX records and plan to experiment more with that, but if I don't get time I know I can use some login scripts I've used in the past. Any ideas?
Thanks for any input!
Steve