In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/pingtest.cgi line 10:
. /usr/html/axis-cgi/lib/functions.sh
  ^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/functions.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/pingtest.cgi line 18:
		read -n $CONTENT_LENGTH POST_DATA <&
                ^--^ SC2162 (info): read without -r will mangle backslashes.
                     ^-- SC3045 (warning): In POSIX sh, read -n is undefined.
                        ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^-------^ SC2034 (warning): POST_DATA appears unused. Verify use (or export if used externally).

Did you mean: 
		read -n "$CONTENT_LENGTH" POST_DATA <&0


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/pingtest.cgi line 40:
if ping  $ip >/dev/null; then
         ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
if ping  "$ip" >/dev/null; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/pingtest.cgi line 42:
	if [ $CGI_HDGEN = yes ]; then
             ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$CGI_HDGEN" = yes ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/pingtest.cgi line 48:
	if [ $CGI_HDGEN = yes ]; then
             ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$CGI_HDGEN" = yes ]; then

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- POST_DATA appears unused. Verify ...
  https://www.shellcheck.net/wiki/SC3045 -- In POSIX sh, read -n is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...