Re: Setting global environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux