In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/start-package-allowed.sh line 15:
[ $1 ] || exit 2
  ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
[ "$1" ] || exit 2


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/start-package-allowed.sh line 23:
	MAXRUNNING=$(($MAXRUNNING + 1))
                      ^---------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/start-package-allowed.sh line 25:
numrunning=$(ls -l /proc/[0-9]*/exe 2>/dev/null |
             ^-- SC2010 (warning): Don't use ls | grep. Use a glob or a for loop with a condition to allow non-alphanumeric filenames.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/start-package-allowed.sh line 29:
if [ $numrunning -ge $MAXRUNNING ]; then
     ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
if [ "$numrunning" -ge $MAXRUNNING ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/start-package-allowed.sh line 31:
	logger -p ERR -t "${0##*/}[$$]" -- "$APPNAME[0] not allowed to start"
                                            ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).

For more information:
  https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
  https://www.shellcheck.net/wiki/SC2010 -- Don't use ls | grep. Use a glob o...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...