In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 9:
. /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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 14:
DBUS_REQ_GET_APP_STATUS="dbus-send --system --print-reply --dest=com.axis.RuleEngine /com/axis/RuleEngine com.axis.RuleEngine.GetApplicationStatus"
^---------------------^ SC2034 (warning): DBUS_REQ_GET_APP_STATUS appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 17:
logger -t $TAG -p INFO "$1"
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -t "$TAG" -p INFO "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 23:
echo -n "<!--#set var=\"license_key\" value=\""
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 24:
cat $PACKAGE_DIRECTORY/$1/$LICENSEFILE 2>/dev/null || echo -n "none"
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
Did you mean:
cat "$PACKAGE_DIRECTORY"/"$1"/$LICENSEFILE 2>/dev/null || echo -n "none"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 29:
local dbus_resp st_resp="Not Found" _cfg="$PACKAGE_DIRECTORY/$1/$ADPPACKCFG"
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 39:
echo $st_resp
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$st_resp"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 43:
local listpack= found= p= status_resp= licensed= dbus_resp= _licstatus= _expdate=
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-------^ SC2034 (warning): dbus_resp appears unused. Verify use (or export if used externally).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 46:
cd $PACKAGE_DIRECTORY
^-------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "$PACKAGE_DIRECTORY" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 84:
local listpack= p= name=
^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 86:
if [ -d $PACKAGE_DIRECTORY ]; then
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -d "$PACKAGE_DIRECTORY" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 87:
cd $PACKAGE_DIRECTORY
^-------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cd "$PACKAGE_DIRECTORY" || exit
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 108:
LICENSEPAGE=$(echo $LICENSEPAGE |tr '[:upper:]' '[:lower:]')
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
LICENSEPAGE=$(echo "$LICENSEPAGE" |tr '[:upper:]' '[:lower:]')
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 137:
local indexpage="/local/$1/index.html"
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 144:
local settingspagepath=/local/$1
^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local settingspagepath=/local/"$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 147:
. "$PACKAGE_DIRECTORY/$1/$ADPPACKCFG" || :
^-- SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 156:
local val=
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 159:
. "$PACKAGE_DIRECTORY/$1/$ADPPACKCFG" || :
^-- SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 160:
eval val=\$$2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval val=\$"$2"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 161:
echo $val
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$val"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/bin/devtools.sh line 166:
local response=
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
For more information:
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2034 -- DBUS_REQ_GET_APP_STATUS appears u...