diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-02-19 22:53:25 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-02-19 22:53:25 +0000 |
commit | 1707d1130f0129eee2fbf24a88520359dba18c73 (patch) | |
tree | ecf79459691a00356bbae66da4ff2ce3132bfeee /modules/services/networking/wpa_supplicant.nix | |
parent | 5c6165ef9f922b24401a3ee1b691d00e64f1d335 (diff) | |
download | nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar.gz nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar.bz2 nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar.lz nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar.xz nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.tar.zst nixpkgs-1707d1130f0129eee2fbf24a88520359dba18c73.zip |
* Move the dhclient/wpa_supplicant restart actions out of the ifplugd
module. svn path=/nixos/trunk/; revision=32409
Diffstat (limited to 'modules/services/networking/wpa_supplicant.nix')
-rw-r--r-- | modules/services/networking/wpa_supplicant.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/services/networking/wpa_supplicant.nix b/modules/services/networking/wpa_supplicant.nix index 7e29747dcc2..bf4cd6ae29a 100644 --- a/modules/services/networking/wpa_supplicant.nix +++ b/modules/services/networking/wpa_supplicant.nix @@ -63,6 +63,11 @@ in + (optionalString (config.networking.WLANInterface != null) "-i ${config.networking.WLANInterface}"); }; + powerManagement.resumeCommands = + '' + ${config.system.build.upstart}/sbin/restart wpa_supplicant + ''; + }; } |