[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68012] [PATCH] thinkfan-service-type: Place config-file in /etc/thi
From: |
Josselin Poiret |
Subject: |
[bug#68012] [PATCH] thinkfan-service-type: Place config-file in /etc/thinkfan.conf if file-like |
Date: |
Sat, 13 Jan 2024 17:30:23 +0100 |
lgcoelho--- via Guix-patches via <guix-patches@gnu.org> writes:
> +(define thinkfan-activation
> + (match-record-lambda <thinkfan-configuration>
> + (config-file)
> + (when (file-like? config-file)
> + (with-imported-modules '((guix build utils))
> + #~(begin
> + (use-modules (guix build utils))
> + (copy-file #$config-file "/etc/thinkfan.conf"))))))
> +
This is not needed as you already specify the config file to use to
thinkfan with the -c option.
--
Josselin Poiret
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#68012] [PATCH] thinkfan-service-type: Place config-file in /etc/thinkfan.conf if file-like,
Josselin Poiret <=