From 0f31285b014aa33a54cc3a22bcf005717decca84 Mon Sep 17 00:00:00 2001 From: Frederik <5511687+fightforlife@users.noreply.github.com> Date: Sun, 2 Jan 2022 13:15:09 +0100 Subject: [PATCH] add individual arguments --- start_services.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/start_services.sh b/start_services.sh index 7d649e8..8e30192 100644 --- a/start_services.sh +++ b/start_services.sh @@ -3,7 +3,18 @@ #detect sensors and load modules sensors-detect --auto | sed -n '/# Chip drivers/,/#----cut here----/{//!p;}' | xargs -n1 modprobe -hddfancontrol $1 & +hddfancontrol -d $DEVICES \ + -p $PWM_DEVICES \ + --pwm-start-value $PWM_START \ + --pwm-stop-value $PWM_STOP \ + --min-temp $MIN_TEMP \ + --max-temp $MAX_TEMP \ + --min-fan-speed-prct $MIN_FAN \ + -i $INTERVALL \ + --spin-down-time $SPINDOWN_TIME \ + --smartctl \ + -l $LOG_PATH \ + & # Wait for any process to exit wait -n