add wantedBy network.target so that hostapd starts by default
This commit is contained in:
parent
d5b6456f40
commit
edc12de8c9
@ -150,6 +150,7 @@ in
|
|||||||
{ description = "hostapd wireless AP";
|
{ description = "hostapd wireless AP";
|
||||||
|
|
||||||
path = [ pkgs.hostapd ];
|
path = [ pkgs.hostapd ];
|
||||||
|
wantedBy = [ "network.target" ];
|
||||||
|
|
||||||
after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service"];
|
after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service"];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user