mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 06:28:39 +09:00 
			
		
		
		
	Fix typo in fan setting
This commit is contained in:
		
							
								
								
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							@@ -1,3 +1,9 @@
 | 
				
			|||||||
 | 
					raspi-config (20201108) buster; urgency=medium
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  * Fix typo in fan controller
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 -- Simon Long <simon@raspberrypi.com>  Sun, 08 Nov 2020 11:37:08 +0000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
raspi-config (20201027) buster; urgency=medium
 | 
					raspi-config (20201027) buster; urgency=medium
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  * Add function to check whether board has an analog output jack
 | 
					  * Add function to check whether board has an analog output jack
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1267,9 +1267,9 @@ do_fan() {
 | 
				
			|||||||
      if ! tail -1 $CONFIG | grep -q "\\[all\\]" ; then
 | 
					      if ! tail -1 $CONFIG | grep -q "\\[all\\]" ; then
 | 
				
			||||||
        sed $CONFIG -i -e "\$a[all]"
 | 
					        sed $CONFIG -i -e "\$a[all]"
 | 
				
			||||||
      fi
 | 
					      fi
 | 
				
			||||||
      sed $CONFIG -i -e "\$adtoverlay=gpio-fan,gpio_pin=$GPIO,temp=$TEMP"
 | 
					      sed $CONFIG -i -e "\$adtoverlay=gpio-fan,gpiopin=$GPIO,temp=$TEMP"
 | 
				
			||||||
    else
 | 
					    else
 | 
				
			||||||
      sed $CONFIG -i -e "s/^.*dtoverlay=gpio-fan.*/dtoverlay=gpio-fan,gpio_pin=$GPIO,temp=$TEMP/"
 | 
					      sed $CONFIG -i -e "s/^.*dtoverlay=gpio-fan.*/dtoverlay=gpio-fan,gpiopin=$GPIO,temp=$TEMP/"
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
    ASK_TO_REBOOT=1
 | 
					    ASK_TO_REBOOT=1
 | 
				
			||||||
    if [ "$INTERACTIVE" = True ]; then
 | 
					    if [ "$INTERACTIVE" = True ]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user