mirror of
				https://github.com/brain-hackers/brain-config.git
				synced 2025-11-04 14:38:36 +09:00 
			
		
		
		
	Typo
This commit is contained in:
		@@ -1220,7 +1220,7 @@ do_fan() {
 | 
			
		||||
  fi
 | 
			
		||||
  if [ $RET -eq 0 ]; then
 | 
			
		||||
    if ! grep -q "dtoverlay=gpio-fan" $CONFIG ; then
 | 
			
		||||
      if ! tail -1 $CONFIG | grep -q "\\[all\\]" ; then 
 | 
			
		||||
      if ! tail -1 $CONFIG | grep -q "\\[all\\]" ; then
 | 
			
		||||
        sed $CONFIG -i -e "\$a[all]"
 | 
			
		||||
      fi
 | 
			
		||||
      sed $CONFIG -i -e "\$adtoverlay=gpio-fan,gpio_pin=$GPIO,temp=$TEMP"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user