mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 13:43:50 +00:00
Merge pull request #19729 from groxxda/supplicant
supplicants: fix wants and wantedBy
This commit is contained in:
commit
0cbc4551ed
@ -34,7 +34,8 @@ let
|
|||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{ description = "Supplicant ${iface}${optionalString (iface=="WLAN"||iface=="LAN") " %I"}";
|
{ description = "Supplicant ${iface}${optionalString (iface=="WLAN"||iface=="LAN") " %I"}";
|
||||||
wantedBy = [ "network.target" ] ++ deps;
|
wantedBy = [ "multi-user.target" ] ++ deps;
|
||||||
|
wants = [ "network.target" ];
|
||||||
bindsTo = deps;
|
bindsTo = deps;
|
||||||
after = deps;
|
after = deps;
|
||||||
before = [ "network.target" ];
|
before = [ "network.target" ];
|
||||||
|
@ -128,9 +128,11 @@ in {
|
|||||||
in {
|
in {
|
||||||
description = "WPA Supplicant";
|
description = "WPA Supplicant";
|
||||||
|
|
||||||
after = [ "network.target" ] ++ lib.concatMap deviceUnit ifaces;
|
after = lib.concatMap deviceUnit ifaces;
|
||||||
|
before = [ "network.target" ];
|
||||||
|
wants = [ "network.target" ];
|
||||||
requires = lib.concatMap deviceUnit ifaces;
|
requires = lib.concatMap deviceUnit ifaces;
|
||||||
wantedBy = [ "network-online.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
path = [ pkgs.wpa_supplicant ];
|
path = [ pkgs.wpa_supplicant ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user