hostapd: starting hostapd systemd service at boot.

This commit is contained in:
Félix Baylac-Jacqué
2019-06-24 00:26:27 +02:00
parent 98deb87354
commit 5121f8d1e6
@@ -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}";