Read a config file, eh

This commit is contained in:
Dan Buch 2018-10-18 09:49:25 -04:00
parent 6915e702cf
commit bf537f8f0c
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

View File

@ -8,6 +8,10 @@ main() {
shift
fi
if [[ -f /etc/default/thinkfan-confgen ]]; then
source /etc/default/thinkfan-confgen
fi
: "${THINKFAN_LOWER_BOUND:=30}"
: "${THINKFAN_STEP:=4}"