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

6 lines
148 B
Bash

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