cat scripts/fan.sh #!/bin/bash WAIT=0.5 gpio mode 10 out gpio mode 6 out gpio mode 5 out while true; do gpio write 10 0 gpio write 6 0 gpio write 5 0 sleep $WAIT gpio write 10 1 gpio write 6 1 gpio write 5 1 sleep $WAIT done