Well the title says it all, how can I auto-start a program before anything else and prevent any other program from running until a certain directory is mounted?
I am building a front-end program for the command "ncpmount" and it has to prevent any program from running until the user logs into their remote account and their files become mounted.