Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • amills17
    Participant

    I figured out my problem with the help of a gentlemen from Bombich’s forum. I needed to call my folder redirection script from the login script with a
    sudo -H -u $1 launchctl load -w /Library/Management/com.domain.link.plist which uses lanuchd to run my script which has the benefits over loginhooks and login items two ways that benefited me. The main reason is the loginhook was too early, the home diretcory and its compoents haven’t been melded together enough at this point for me to redirect folders to the network, while login items run after the finder loads which is not good either. Launchd runs at the perfect time and will run again up to 9 times if it fails execute the script successfully.

    amills17
    Participant

    Is there a PID I could wait for in my login script that would tell my script when MCX finshing processing and I could script aginst volumes mounted by MCX? I think my only other option is a login item apple script login scrip that can redirect the folders I want to the network. This is not my idea of a good setup the user can interfere with the login item, but i’m stuck. My oher options involve schema changes, changing every user object and a whole bunch of crap I don’t want to think of.

Viewing 2 posts - 1 through 2 (of 2 total)