In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 10:
local _prop_val
^-------------^ 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/html/axis-cgi/lib/limited_access.sh line 17:
local _value=
^----------^ 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/html/axis-cgi/lib/limited_access.sh line 18:
local IFS='
^-------^ 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/html/axis-cgi/lib/limited_access.sh line 20:
for _line in $(tar -Oxf $1 $PKG_CONF_FILE); do
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for _line in $(tar -Oxf "$1" $PKG_CONF_FILE); do
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 21:
if [ ${_line%%=*} = "$2" ]; then
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "${_line%%=*}" = "$2" ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 30:
local _user= _group=
^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 32:
[ $# -eq 1 ] && [ "$1" ] || {
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 36:
__pkgconf_value $1 APPUSR _user
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__pkgconf_value "$1" APPUSR _user
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 37:
__pkgconf_value $1 APPGRP _group
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__pkgconf_value "$1" APPGRP _group
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 42:
local _eap_path _line _result=rejected
^---------------------------^ 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/html/axis-cgi/lib/limited_access.sh line 44:
[ $# -eq 1 ] && [ "$1" ] || {
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 65:
while read _line; do
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/limited_access.sh line 66:
set -- $_line
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
set -- "$_line"
For more information:
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...