In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 9:
. /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/sbin/upload.cgi line 10:
. /usr/html/axis-cgi/lib/adp.sh
^---------------------------^ SC1091 (info): Not following: /usr/html/axis-cgi/lib/adp.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/sbin/upload.cgi line 18:
local modreply
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 30:
[ -z "$pack" ] || fwurl="$fwurl&app=$ctrl_package"
^-----------^ SC2154 (warning): ctrl_package is referenced but not assigned.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 34:
printf 'Error: %s' $modreply
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf 'Error: %s' "$modreply"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 48:
--method com.axis.AcapManager1.Install $file $upload_location) || {
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
--method com.axis.AcapManager1.Install "$file" "$upload_location") || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 53:
rm -f $file
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$file"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/upload.cgi line 54:
__parse_dbus_reply $reply
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__parse_dbus_reply "$reply"
For more information:
https://www.shellcheck.net/wiki/SC2154 -- ctrl_package is referenced but no...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...