about summary refs log tree commit diff
path: root/pkgs/tools/bluetooth/blueman
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-01-18 20:38:34 +0000
committerPeter Simons <simons@cryp.to>2012-01-18 20:38:34 +0000
commit0f3fa64430095bcaedfa091d7a27b1d2dc728f9d (patch)
tree84fe588d077cfa4aaaede42afa6127a09b6b6467 /pkgs/tools/bluetooth/blueman
parent5ebdf058cc5f8fbbcd680cbecbc06a04435555b3 (diff)
downloadnixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar.gz
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar.bz2
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar.lz
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar.xz
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.tar.zst
nixlib-0f3fa64430095bcaedfa091d7a27b1d2dc728f9d.zip
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
Diffstat (limited to 'pkgs/tools/bluetooth/blueman')
0 files changed, 0 insertions, 0 deletions