Skip to content

Commit 3f7b0b2

Browse files
committed
Fix for enabled camera while unset gpu_mem
1 parent 85aeebe commit 3f7b0b2

File tree

1 file changed

+1
-1
lines changed
  • scripts/etc/init.d

1 file changed

+1
-1
lines changed

scripts/etc/init.d/rcS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ fi
10261026

10271027
# enable camera if specified in the configuration file
10281028
if [ "${camera_enable}" = "1" ] ; then
1029-
if [ "${gpu_mem}" -lt "128" ] ; then
1029+
if [ "0${gpu_mem}" -lt "128" ] ; then
10301030
gpu_mem=128
10311031
fi
10321032
echo "start_x=1" >> /rootfs/boot/config.txt

0 commit comments

Comments
 (0)