supplicant: fix wants and wantedBy

This commit is contained in:
Alexander Ried
2016-10-20 20:17:17 +02:00
parent 11cbeda675
commit 57d9c69c6a
2 changed files with 6 additions and 3 deletions
@@ -34,7 +34,8 @@ let
'';
in
{ description = "Supplicant ${iface}${optionalString (iface=="WLAN"||iface=="LAN") " %I"}";
wantedBy = [ "network.target" ] ++ deps;
wantedBy = [ "multi-user.target" ] ++ deps;
wants = [ "network.target" ];
bindsTo = deps;
after = deps;
before = [ "network.target" ];