On Mon, 1 Feb 2010 17:13:55 -0500 Daenyth Blank <daenyth+arch@xxxxxxxxx> wrote: > On Mon, Feb 1, 2010 at 17:11, Ty John <ty-ml@xxxxxxxxxxxxxxx> wrote: > > Basically, I want to set and unset the variable when I connect and > > disconnect the VPN. > > The best way is probably to have a set of aliases in your bashrc that > run it and set the variables. Scripts and functions cannpt modify the > calling environment. Thanks Daenyth, I knew it would be something simple like that. Works perfectly.