In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 6:
. /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-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 7:
. /lib/rcscripts/sh/integer.sh
^--------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/integer.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 42:
is_integer $1 && [ $1 -le 100 ] && [ $1 -ge 0 ]
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
is_integer "$1" && [ "$1" -le 100 ] && [ "$1" -ge 0 ]
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 45:
read_busctl() {
^-- SC2120 (warning): read_busctl references arguments, but none are ever passed.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 48:
local type value
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 50:
read type value || return
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 55:
while read_busctl; do
^---------^ SC2119 (info): Use read_busctl "$@" if function's $1 should mean script's $1.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 62:
while read_busctl; do
^---------^ SC2119 (info): Use read_busctl "$@" if function's $1 should mean script's $1.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 86:
read_busctl <<-EOT
^----------------^ SC2119 (info): Use read_busctl "$@" if function's $1 should mean script's $1.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 99:
RET_VAL=$(irismgr $1)
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
RET_VAL=$(irismgr "$1")
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 111:
read_busctl <<-EOT
^----------------^ SC2119 (info): Use read_busctl "$@" if function's $1 should mean script's $1.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 118:
local focallength old_ifs iis_param_list
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 147:
set -- $RET_VAL
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
set -- "$RET_VAL"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 167:
$PHC set $PARAM_FOCALLENGTH $focallength || {
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$PHC set $PARAM_FOCALLENGTH "$focallength" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 174:
local isi0d=ImageSource.I0.DCIRIS first
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
^---^ SC2034 (warning): isi0d appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 180:
if [ "$($PHC $PROP_IRISMGR || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$($PHC "$PROP_IRISMGR" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 182:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 186:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 191:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 196:
if [ "$($PHC $PROP_IRISMGR || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$($PHC "$PROP_IRISMGR" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 197:
local second
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 199:
[ $first = $COMMAND ] || second=${COMMAND#*,}
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$first" = "$COMMAND" ] || second=${COMMAND#*,}
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 202:
if dbus_set com.axis.Optics2 /com/axis/Optics0 com.axis.Iris1 Id u $second; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if dbus_set com.axis.Optics2 /com/axis/Optics0 com.axis.Iris1 Id u "$second"; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 208:
irismgr_method --set_type_id=$second || {
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
irismgr_method --set_type_id="$second" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 209:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 215:
__cgi_errhd 500 $RET_VAL
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_VAL"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 220:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 228:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 233:
if [ "$($PHC $PROP_IRISMGR || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$($PHC "$PROP_IRISMGR" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 234:
local ret_pg path
^---------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 237:
path=$(file_upload -S $CONTENT_LENGTH -n 65536 -a) || {
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
path=$(file_upload -S "$CONTENT_LENGTH" -n 65536 -a) || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 246:
local tmpdir
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 258:
local files
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 263:
files=$(tar xvzf $path -C $tmpdir) || {
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
files=$(tar xvzf "$path" -C "$tmpdir") || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 264:
rm -rf $tmpdir $path
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf "$tmpdir" "$path"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 272:
rm -f $path
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$path"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 273:
umask=$umask
^---^ SC2269 (info): This variable is assigned to itself, so the assignment does nothing.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 275:
local iris_dir
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 280:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 291:
chmod 755 $tmpdir
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
chmod 755 "$tmpdir"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 292:
local f stat
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 297:
dbus_method com.axis.Optics2 /com/axis/Optics0 com.axis.Iris1 ValidIrisConfiguration s $f || {
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_method com.axis.Optics2 /com/axis/Optics0 com.axis.Iris1 ValidIrisConfiguration s "$f" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 298:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 303:
stat=$(irismgr --valid=$f) || {
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
stat=$(irismgr --valid="$f") || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 304:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 309:
mv $f $iris_dir || {
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mv "$f" "$iris_dir" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 310:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 315:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 320:
rm -rf $tmpdir
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -rf "$tmpdir"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 329:
rmdir $tmpdir ||
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rmdir "$tmpdir" ||
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 336:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 341:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 351:
local first second= pos
^---------------------^ 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-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 354:
[ $first = $COMMAND ] || second=${COMMAND#*,}
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$first" = "$COMMAND" ] || second=${COMMAND#*,}
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 358:
[ "$($PHC $PROP_DCIRIS || :)" != yes ] || {
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_DCIRIS" || :)" != yes ] || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 360:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 366:
if [ "$($PHC $PROP_POSIRIS || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$($PHC "$PROP_POSIRIS" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 372:
if valid_position $second; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if valid_position "$second"; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 375:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 380:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 385:
dbus_method com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.ImageControlStream IrisFValue i $pos || {
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_method com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.ImageControlStream IrisFValue i "$pos" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 386:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 391:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 397:
local current_typeid
^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 400:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 405:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 411:
elif [ "$($PHC $PROP_OPTSETUPCAMBLOCKTYPE 2>/dev/null || :)" = i-cs ]; then
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$($PHC "$PROP_OPTSETUPCAMBLOCKTYPE" 2>/dev/null || :)" = i-cs ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 415:
elif [ "$($PHC $PROP_OPTSETUPCAMBLOCKTYPE 2>/dev/null || :)" = cs ] &&
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$($PHC "$PROP_OPTSETUPCAMBLOCKTYPE" 2>/dev/null || :)" = cs ] &&
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 416:
[ "$($PHC $PROP_DCIRIS 2>/dev/null || :)" = no ] &&
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_DCIRIS" 2>/dev/null || :)" = no ] &&
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 417:
[ "$($PHC $PROP_POSIRIS 2>/dev/null || :)" = no ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_POSIRIS" 2>/dev/null || :)" = no ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 421:
elif [ "$($PHC $PROP_OPTSETUPCAMBLOCKTYPE 2>/dev/null || :)" = cs ] &&
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$($PHC "$PROP_OPTSETUPCAMBLOCKTYPE" 2>/dev/null || :)" = cs ] &&
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 422:
[ "$($PHC $PROP_DCIRIS 2>/dev/null || :)" = yes ] &&
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_DCIRIS" 2>/dev/null || :)" = yes ] &&
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 423:
[ "$($PHC $PROP_POSIRIS 2>/dev/null || :)" = no ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_POSIRIS" 2>/dev/null || :)" = no ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 427:
elif [ "$($PHC $PROP_IRISMGR 2>/dev/null || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$($PHC "$PROP_IRISMGR" 2>/dev/null || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 428:
local current_typeid mounted_iris_type=0
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 431:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 436:
[ "$($PHC $PROP_POSIRIS 2>/dev/null || :)" != yes ] ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_POSIRIS" 2>/dev/null || :)" != yes ] ||
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 439:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 447:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 452:
if [ "$($PHC $PROP_IRISMGR || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$($PHC "$PROP_IRISMGR" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 454:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 466:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 472:
local min_focallength max_focallength
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 475:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 481:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 488:
elif [ "$($PHC $PROP_IRISMGR || :)" = yes ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$($PHC "$PROP_IRISMGR" || :)" = yes ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 490:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 494:
local format
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 499:
local min_focallength
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 500:
local max_focallength
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 512:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 517:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 522:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 530:
printf "pos:%s\nf:%s\n" $pos "$RET_VAL"
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf "pos:%s\nf:%s\n" "$pos" "$RET_VAL"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 539:
[ "$($PHC $PROP_POSIRIS || :)" = yes ] && valid_position $COMMAND || {
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_POSIRIS" || :)" = yes ] && valid_position "$COMMAND" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 540:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 544:
dbus_set com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.Configuration.Legacy IrisPosition i $COMMAND || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_set com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.Configuration.Legacy IrisPosition i "$COMMAND" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 545:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 554:
[ "$($PHC $PROP_DCIRIS || :)" = yes ] || {
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$($PHC "$PROP_DCIRIS" || :)" = yes ] || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 555:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 561:
dbus_set com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.ImageControlStream IrisEnabled s $COMMAND || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_set com.axis.ImageControl /com/axis/ImageControl/0/0 com.axis.ImageControlStream IrisEnabled s "$COMMAND" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 562:
__cgi_errhd 500 $RET_500
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$RET_500"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 567:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/irissetup.cgi line 581:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
For more information:
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC2034 -- isi0d appears unused. Verify use ...
https://www.shellcheck.net/wiki/SC2120 -- read_busctl references arguments,...