mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 13:28:12 -05:00
services: hostapd: Use package from configuration.
* gnu/services/networking.scm (hostapd-shepherd-services): Replace 'hostapd' by the package specified in the configuration.
This commit is contained in:
parent
8a0dc5f1bf
commit
62a8d487d6
1 changed files with 2 additions and 1 deletions
|
@ -1591,7 +1591,8 @@ (define* (hostapd-shepherd-services config #:key (requirement '()))
|
|||
(requirement `(user-processes ,@requirement))
|
||||
(documentation "Run the hostapd WiFi access point daemon.")
|
||||
(start #~(make-forkexec-constructor
|
||||
(list #$(file-append hostapd "/sbin/hostapd")
|
||||
(list #$(file-append (hostapd-configuration-package config)
|
||||
"/sbin/hostapd")
|
||||
#$(hostapd-configuration-file config))
|
||||
#:log-file "/var/log/hostapd.log"))
|
||||
(stop #~(make-kill-destructor)))))
|
||||
|
|
Loading…
Reference in a new issue