In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 4:
export LD_LIBRARY_PATH=/opt:$LD_LIBRARY_PATH
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
export LD_LIBRARY_PATH=/opt:"$LD_LIBRARY_PATH"
In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 7:
echo $&commat
^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.
In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 20:
[ "$end" = "" ] && [ "$action" != "" ] || showUsage
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 38:
echo -n "Stopping mydlink_watchdog"
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 40:
pid=$(pidof $mydlinkdaemon) && { kill -SIGUSR1 $pid && echo " ok." && return 0; }
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pid=$(pidof $mydlinkdaemon) && { kill -SIGUSR1 "$pid" && echo " ok." && return 0; }
In /logs/firmware/patool_extraction/DUMP/mtdblock2_unblob_extracted/mtdblock2_extract/0-376832.squashfs_v4_le_extract/opt.local line 47:
echo -n "mydlink_watchdog"
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
For more information:
https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
https://www.shellcheck.net/wiki/SC3037 -- In POSIX sh, echo flags are undef...
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...