diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-03-07 21:24:40 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-03-07 21:24:40 (GMT) |
commit | 17a417e13530325e7e6a5ebb5277f2c42685a74a (patch) | |
tree | 7db53222f6f5e1868e0053c001f74e2be9a390fe /abs/extra/lm_sensors/daemonarg.patch | |
parent | 4c44c7fa3ce44ac09e044d41dde9e428c09de1c0 (diff) | |
download | linhes_pkgbuild-17a417e13530325e7e6a5ebb5277f2c42685a74a.zip linhes_pkgbuild-17a417e13530325e7e6a5ebb5277f2c42685a74a.tar.gz linhes_pkgbuild-17a417e13530325e7e6a5ebb5277f2c42685a74a.tar.bz2 |
lm_sensors: update to 3.3.5 and update bin path. refs #961
Diffstat (limited to 'abs/extra/lm_sensors/daemonarg.patch')
-rw-r--r-- | abs/extra/lm_sensors/daemonarg.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/abs/extra/lm_sensors/daemonarg.patch b/abs/extra/lm_sensors/daemonarg.patch deleted file mode 100644 index 4b80cef..0000000 --- a/abs/extra/lm_sensors/daemonarg.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -ru lm_sensors-3.1.2-1/prog/pwm/fancontrol lm_sensors-3.1.2-1_pyropeter/usr/sbin/fancontrol ---- lm_sensors-3.1.2-1/prog/pwm/fancontrol 2010-02-03 03:45:15.000000000 +0100 -+++ lm_sensors-3.1.2-1_pyropeter/prog/pwm/fancontrol 2010-03-07 01:37:09.000000000 +0100 -@@ -5,7 +5,9 @@ - # - # Version 0.70 - # --# Usage: fancontrol [CONFIGFILE] -+# Usage: fancontrol [-D] [CONFIGFILE] -+# -+# (-D causes fancontrol to 'fork' to the background after some tests) - # - # Dependencies: - # bash, egrep, sed, cut, sleep, readlink, lm_sensors :) -@@ -43,6 +45,12 @@ - #DEBUG=1 - MAX=255 - -+DAEMON=0 -+if [ "$1" = "-D" ]; then -+ DAEMON=1 -+ shift -+fi -+ - declare -i pwmval - - function LoadConfig { -@@ -303,7 +311,6 @@ - echo "File $PIDFILE exists, is fancontrol already running?" - exit 1 - fi --echo $$ > "$PIDFILE" - - # $1 = pwm file name - function pwmdisable() -@@ -475,6 +482,14 @@ - let fcvcount=$fcvcount+1 - done - -+if [ "$DAEMON" -gt 0 ]; then -+ echo "Forking..." -+ $0 $* &> /dev/null & -+ exit 0 -+fi -+ -+echo $$ > "$PIDFILE" -+ - echo 'Starting automatic fan control...' - - # main loop calling the main function at specified intervals |