29c447d8408bbe3e888fc8828a9e355d46189d60
3 # Copyright (C) 2017 LEDE-Project.org
12 # Set fan script execution in crontab
13 grep -s -q fan_ctrl.sh
/etc
/crontabs
/root
&& exit 0
15 echo "# mamba fan script runs every 5 minutes" >> /etc
/crontabs
/root
16 echo "*/5 * * * * /sbin/fan_ctrl.sh" >> /etc
/crontabs
/root
18 # Execute one time after initial flash (instead of waiting 5 min for cron)