add wantedBy network.target so that hostapd starts by default

This commit is contained in:
Jack Cummings 2013-04-12 23:25:32 -07:00
parent d5b6456f40
commit edc12de8c9

View File

@ -150,6 +150,7 @@ in
{ description = "hostapd wireless AP";
path = [ pkgs.hostapd ];
wantedBy = [ "network.target" ];
after = [ "${cfg.interface}-cfg.service" "nat.service" "bind.service" "dhcpd.service"];