How do I write a script to randomly choose a vpn location with NetworkManager?

Bill Oliver vendor at billoblog.com
Mon Feb 11 00:44:18 UTC 2013



On Sun, 10 Feb 2013, Mark LaPierre wrote:

> Use random number generator in your script that generates a random number 
> from zero to the number of connections to choose from.
>
> You said that you know how to write script.  Use a case statement, or 
> similar, to select the appropriate connection to activate.  Fire off this 
> script at boot up to make your connection.  Be sure to schedule the script to 
> start up after NM has started.
>

Thanks!  I plan to do that.

billo


More information about the users mailing list