proxy - execute bash on Network Location profile change -
i have macbook use work both @ office , @ home. due enterprise's policies, have navigate through proxy. i created 2 newtwork profiles (home, office) in set proxy , credentials have use.
however, there several applications have manually edit configuration in order have them work proxy (git, npm, , bunch of others). i created 2 bash files set/unset config key @ convenience.
question is: can "listen" event such network profile change, in order run appropriate bash script, depending on selected location?
maybe automator can help?
Comments
Post a Comment