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