##// END OF EJS Templates
Fixed: Disable RPi2/3 under-volt warnings
drtyhlpr -
r132:7274c6a5ff6a
parent child
Show More
@@ -215,9 +215,11 if [ "$ENABLE_WIRELESS" = true ] && [ "$RPI_MODEL" != 3 ] ; then
215 215 fi
216 216
217 217 # Check if DISABLE_UNDERVOLT_WARNINGS parameter value is supported
218 if [ "$DISABLE_UNDERVOLT_WARNINGS" != 1 ] && [ "$DISABLE_UNDERVOLT_WARNINGS" != 2 ] ; then
219 echo "error: DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS} is not supported"
220 exit 1
218 if [ ! -z "$DISABLE_UNDERVOLT_WARNINGS" ] ; then
219 if [ "$DISABLE_UNDERVOLT_WARNINGS" != 1 ] && [ "$DISABLE_UNDERVOLT_WARNINGS" != 2 ] ; then
220 echo "error: DISABLE_UNDERVOLT_WARNINGS=${DISABLE_UNDERVOLT_WARNINGS} is not supported"
221 exit 1
222 fi
221 223 fi
222 224
223 225 # Set compiler packages and build RPi2/3 Linux kernel if required by Debian release
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant