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