From 62a8d487d61513d214b9aa72e7efaefde215cd9b Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Wed, 27 May 2020 18:07:14 +0200 Subject: services: hostapd: Use package from configuration. * gnu/services/networking.scm (hostapd-shepherd-services): Replace 'hostapd' by the package specified in the configuration. --- gnu/services/networking.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm index b78c8ceacc..87b3d754a3 100644 --- a/gnu/services/networking.scm +++ b/gnu/services/networking.scm @@ -1591,7 +1591,8 @@ extra-settings "\n")))) (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))))) -- cgit 1.4.1