nixpkgs-suyu/pkgs
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
..
applications rsync: optional feature (disabled by default) to sync devices 2012-01-18 20:38:24 +00:00
build-support prefer local builds for fetchhg 2012-01-10 06:41:44 +00:00
data SDO: add meta.homepage 2012-01-14 18:04:34 +00:00
desktops * Added Xfce's appfinder application. 2012-01-17 18:08:09 +00:00
development ghc-mod: new package (emacs haskell-mode extension) 2012-01-18 20:32:34 +00:00
games xmoto-0.5.9+libpng-1.5 patch 2012-01-08 23:31:31 +00:00
lib maintainers: added myself for upcoming packages 2012-01-18 20:32:31 +00:00
misc ghostscript: cosmetic change to simplify the DLL build and install procedure 2012-01-11 23:14:12 +00:00
os-specific wpa_supplicant: fixed crashing bug 2012-01-18 20:32:29 +00:00
servers intel X driver: upgraded to fix display glitches on newer chips 2012-01-18 20:38:30 +00:00
shells zsh profile load tweaking only on nixos 2011-12-29 20:09:30 +00:00
stdenv * /bin and /usr/bin are the same on OpenSolaris so the 2011-11-21 14:55:58 +00:00
test
tools wicd: integrate with upstart events 2012-01-18 20:38:34 +00:00
top-level rsync: optional feature (disabled by default) to sync devices 2012-01-18 20:38:24 +00:00