forked from mirrors/nixpkgs
hostapd: starting hostapd systemd service at boot.
This commit is contained in:
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}";
|
||||
|
|
Loading…
Reference in a new issue