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