Environment variables no longer available on OS X in a LoginHook script?

Discussion in 'Mac Apps and Mac App Store' started by iMusings, Jul 24, 2012.

  1. iMusings macrumors member

    Feb 22, 2009
    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?
  2. kryten2 macrumors 6502a

    Mar 17, 2012

Share This Page