void-packages/srcpkgs/lm_sensors/files/fancontrol/run

5 lines
136 B
Bash

#!/bin/sh
[ -r conf ] && . conf
[ ! -r ${CONF_FILE:-/etc/fancontrol} ] && exit 1
exec /usr/bin/fancontrol ${CONF_FILE:-/etc/fancontrol}