3
0
Fork 0
forked from mirrors/nixpkgs

hostapd: starting hostapd systemd service at boot.

This commit is contained in:
Félix Baylac-Jacqué 2019-06-23 21:30:51 +02:00
parent 98deb87354
commit 5121f8d1e6
No known key found for this signature in database
GPG key ID: EFD315F31848DBA4

View file

@ -171,6 +171,7 @@ in
after = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
bindsTo = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
requiredBy = [ "network-link-${cfg.interface}.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig =
{ ExecStart = "${pkgs.hostapd}/bin/hostapd ${configFile}";