Skip to content

Commit

Permalink
add individual arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
fightforlife authored Jan 2, 2022
1 parent ac7da66 commit 0f31285
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion start_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f31285

Please sign in to comment.