Files
nixpkgs/pkgs/tools/networking
Peter Simons 0f3fa64430 wicd: integrate with upstart events
quite some services need to be started/restarted when a connection is
established/teared down. Also, some services are optional depending on
the connected access point. For example: use a vpn on an untrusted
network.

these small trigger scripts don't change any behaviour by themselves,
but allow you to hook in to them if you need.

example use:

  jobs.gw6c.startOn = pkgs.lib.mkForce "started  openvpn-dcsOffice";
  jobs.gw6c.stopOn  = pkgs.lib.mkForce "stopping openvpn-dcsOffice";
  jobs."openvpn-dcsOffice".startOn        = pkgs.lib.mkForce "wicd-postconnect";
  jobs."openvpn-dcsOffice".stopOn         = pkgs.lib.mkForce "stopping network-interfaces or wicd-predisconnect";

In the example, I use 3 layers. When a physical connection is
available (wifi connect), I setup a vpn connection, and setup an ipv6
tunnel on top of that. When disconnecting, they are automatically shut
down in the right order as well.

svn path=/nixpkgs/trunk/; revision=31662
2012-01-18 20:38:34 +00:00
..
2011-01-11 13:42:49 +00:00
2011-08-29 13:17:44 +00:00
2010-05-27 19:43:57 +00:00
2010-04-04 14:44:14 +00:00
2009-08-11 13:49:13 +00:00
2011-10-09 22:28:41 +00:00
2009-09-16 11:27:18 +00:00
2011-03-10 13:35:19 +00:00
2011-11-03 18:43:48 +00:00
2009-10-08 07:01:55 +00:00
2010-11-26 20:04:07 +00:00
2011-03-28 15:47:50 +00:00
2010-07-28 15:35:01 +00:00
2008-11-28 13:09:07 +00:00
2011-09-24 09:14:21 +00:00
2011-11-09 18:25:55 +00:00
2010-05-17 09:31:43 +00:00
2011-09-21 20:05:38 +00:00
2011-08-09 20:09:17 +00:00
2011-07-02 19:19:48 +00:00
2009-09-08 10:31:07 +00:00
2010-09-10 11:50:11 +00:00
2010-05-20 23:06:10 +00:00
2012-01-06 16:14:02 +00:00
2011-01-10 15:57:23 +00:00
2011-10-24 16:36:03 +00:00
2011-10-13 17:00:46 +00:00
2010-07-29 18:55:16 +00:00
2010-11-11 17:32:53 +00:00
2011-03-24 16:03:43 +00:00
2011-08-29 10:31:10 +00:00
2011-09-14 15:50:14 +00:00
2011-09-14 16:52:06 +00:00
2011-11-07 15:07:19 +00:00
2009-02-25 23:21:44 +00:00
2011-04-19 20:35:24 +00:00
2011-05-11 13:44:18 +00:00
2011-09-22 11:28:56 +00:00
2010-10-18 05:33:31 +00:00
2011-09-14 08:39:51 +00:00
2011-09-09 13:16:35 +00:00
2011-08-13 11:49:23 +00:00
2010-03-09 15:12:15 +00:00
2011-06-07 16:15:05 +00:00
2010-08-26 13:18:47 +00:00
2010-06-14 08:01:38 +00:00
2009-03-02 15:23:52 +00:00
2010-01-24 19:07:16 +00:00
2010-07-28 18:01:17 +00:00
2010-11-29 15:25:07 +00:00
2011-08-30 07:02:01 +00:00
2011-11-01 22:33:40 +00:00
2011-12-09 11:14:02 +00:00
2008-11-27 10:32:47 +00:00
2009-05-20 17:51:41 +00:00
2011-06-29 09:53:35 +00:00
2011-12-26 17:27:30 +00:00
2012-01-18 20:38:34 +00:00