From: philhofer <philhofer@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] fancontrol: fix run script
Date: Tue, 11 Jun 2024 23:47:26 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50789@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
There is a new pull request by philhofer against master on the void-packages repository
https://github.com/philhofer/void-packages master
https://github.com/void-linux/void-packages/pull/50789
fancontrol: fix run script
The existing `run` script does not source `conf` correctly.
Tested on a Mellanox SN2700 running void.
A patch file from https://github.com/void-linux/void-packages/pull/50789.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-50789.patch --]
[-- Type: text/x-diff, Size: 710 bytes --]
From 2ddcd9cd15ac8211565693bf8a9a0bef984dfa2e Mon Sep 17 00:00:00 2001
From: Phil Hofer <phil@sunfi.sh>
Date: Tue, 11 Jun 2024 14:41:14 -0700
Subject: [PATCH] fancontrol: fix run script
---
srcpkgs/lm_sensors/files/fancontrol/run | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/lm_sensors/files/fancontrol/run b/srcpkgs/lm_sensors/files/fancontrol/run
index 0025d9784a5d2e..6aa08f456d6da8 100644
--- a/srcpkgs/lm_sensors/files/fancontrol/run
+++ b/srcpkgs/lm_sensors/files/fancontrol/run
@@ -1,5 +1,5 @@
#!/bin/sh
exec 2>&1
-[ -r conf ] && . conf
+[ -r conf ] && . ./conf
[ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1
exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol}
next reply other threads:[~2024-06-11 21:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-11 21:47 philhofer [this message]
2024-06-11 21:52 ` [PR PATCH] [Closed]: " classabbyamp
2024-06-11 21:53 ` classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-50789@inbox.vuxu.org \
--to=philhofer@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).