Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iMusings

macrumors member
Original poster
Feb 22, 2009
58
0
I have a bash script that I run on my Mac as part of a LoginHook process. Basically it is something that sets up a few mount points the way as I want them.

It seems like with Mountain Lion the environment variables that were typically available in a bash shell are no longer available. Since it is crucial that my script executes first before all of the other login items, what alternatives are there for me?

Also, is there a way to work around the changes and get my environment variables back?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.