In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 14:
. /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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 15:
. /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/sbin/license.cgi line 34:
local modreply
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 43:
if [ $lic_action = installlicensekey ]; then
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$lic_action" = installlicensekey ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 45:
elif [ $lic_action = uploadlicensekey ] && [ "$modreply" = 0 ]; then
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$lic_action" = uploadlicensekey ] && [ "$modreply" = 0 ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 53:
[ -z "$pack" ] || fwurl="$fwurl&app=$ctrl_package"
^-----------^ SC2154 (warning): ctrl_package is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 58:
printf 'Error: %s' $modreply
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf 'Error: %s' "$modreply"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 61:
if [ $lic_action = viewlicensekey ]; then
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$lic_action" = viewlicensekey ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 66:
printf "$modreply"
^---------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 78:
reply=$($gdbuscmd.AddLicenseKey "$lic_package" "$lic_filedir"/"$lic_filename") || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
reply=$("$gdbuscmd".AddLicenseKey "$lic_package" "$lic_filedir"/"$lic_filename") || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 85:
reply=$($gdbuscmd.AddLicenseKey "$lic_package" "$lic_filedir"/"$lic_filename") || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
reply=$("$gdbuscmd".AddLicenseKey "$lic_package" "$lic_filedir"/"$lic_filename") || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 92:
reply=$($gdbuscmd.RemoveLicenseKey "$lic_package") || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
reply=$("$gdbuscmd".RemoveLicenseKey "$lic_package") || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/license.cgi line 99:
reply=$($gdbuscmd.ViewLicenseKey "$lic_package") || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
reply=$("$gdbuscmd".ViewLicenseKey "$lic_package") || {
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...