-

CommentStreams:B2425e50e8c52f7ad697da8e7931e8f4

From Geekworm Wiki
Jump to navigation Jump to search

In the time of my last Post i "played a little" and figured out, that a Crontab isn't the best way to start the x735 fan control...

so ich write a boot_script.sh and locate it in the /home/pi/scripts folder of the pi... this script will be triggered every boot by the /etc/rc.local if you enable it..

try this: sudo nano /etc/rc.local

add a line at the end of the file and insert the boot_script into it including full path.. in my case i add following line:

/home/pi/scripts/boot_script.sh

crtl+o to save crtl+x to close

insert into the boot_script.sh the following line(s):

  1. Start the x735_board Fan Control script

echo "Starting Fan & Temperature Control on x735" python /home/pi/x735-v2.5/pwm_fan_control.py &


that's all... in this file you can add more commands as you need, and its a easy way to do this.. ;) the boot_script need to be executable...

Any questions? feel free to ask... ;)