From 14ce4b859f775c69a92fdd521050d6ff6d8c3fe4 Mon Sep 17 00:00:00 2001 From: sasan Date: Mon, 14 Aug 2017 16:12:47 +0430 Subject: [PATCH 1/3] add ".o" to object files --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ed2390a..ba5de5a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ COMPILER=cc C = c +OBJ = o OUTPUT_PATH = bin/ SOURCE_PATH = src/ BIN = bin/mbpfan From 160d44cd17de5a3edea5b1be98cd5cc712221893 Mon Sep 17 00:00:00 2001 From: sasan Date: Mon, 14 Aug 2017 17:38:29 +0430 Subject: [PATCH 2/3] remove "-v" flag from systemd service file. It spams the syslog every time the daemon is waked up. --- mbpfan.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbpfan.service b/mbpfan.service index f2983ea..a4b61e8 100644 --- a/mbpfan.service +++ b/mbpfan.service @@ -5,7 +5,7 @@ After=sysinit.target [Service] Type=simple -ExecStart=/usr/sbin/mbpfan -fv +ExecStart=/usr/sbin/mbpfan -f ExecReload=/usr/bin/kill -HUP $MAINPID PIDFile=/var/run/mbpfan.pid Restart=always From e45a1d7bf07b6f4895754827b62bdd24a42ff67d Mon Sep 17 00:00:00 2001 From: sasan Date: Mon, 14 Aug 2017 18:02:12 +0430 Subject: [PATCH 3/3] add credits where due. added credit for using Kristensson's settings managment library. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 230e49a..f00bb54 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ This enhanced version assumes any number of processors and fans (max. 10). - [Starting at boot](#starting-at-boot) - [Usage](#usage) - [License](#license) +- [Credits](#credits) ## Supported GNU/Linux Distributions @@ -248,3 +249,9 @@ GNU General Public License version 3 * https://launchpad.net/macfanctld * http://paste2.org/p/862259 * http://www.lobotomo.com/products/FanControl/ + +## Credits + +**This Project uses following library:** + +* [ANSI C Application Settings Managment](http://pokristensson.com/settings.html) by Per Ola Kristensson.