guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: services: hostapd: Use package from configuration.


From: guix-commits
Subject: 01/02: services: hostapd: Use package from configuration.
Date: Mon, 31 May 2021 16:23:59 -0400 (EDT)

bricewge pushed a commit to branch master
in repository guix.

commit 62a8d487d61513d214b9aa72e7efaefde215cd9b
Author: Brice Waegeneire <brice@waegenei.re>
AuthorDate: Wed May 27 18:07:14 2020 +0200

    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(-)

diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index b78c8ce..87b3d75 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]