Wicd: Add a template for WPA2-TTLS.

svn path=/nixpkgs/trunk/; revision=25534
This commit is contained in:
Ludovic Courtès
2011-01-13 10:03:20 +00:00
parent 9b9b5e2f53
commit 80a9a7f8bb
2 changed files with 25 additions and 0 deletions
+6
View File
@@ -74,6 +74,12 @@ stdenv.mkDerivation rec {
python setup.py install --prefix=$out
ensureDir $out/share/other
cp other/dhclient.conf.template.default $out/share/other/dhclient.conf.template.default
# Add a template for "WPA2 Enterprise" encryption as used, e.g., by the
# Eduroam network. Taken and adapted from
# <http://wicd.net/punbb/viewtopic.php?id=87>.
cp -v "${./wpa2-ttls}" "$out/etc/encryption/templates/wpa2-ttls"
echo "wpa2-ttls" >> "$out/etc/encryption/templates/active"
'';
meta = {