mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 12:10:07 +09:00
Typo
This commit is contained in:
parent
a64cfdcf0e
commit
afd52609a2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user