In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/dbload.sh line 5:
[ -f /usr/sbin/isfreset ] && RESET=`/usr/sbin/isfreset`
^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
[ -f /usr/sbin/isfreset ] && RESET=$(/usr/sbin/isfreset)
In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/dbload.sh line 16:
if [ "$?" = "0" ]; then
^--^ SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/dbload.sh line 33:
sh $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sh "$i"
In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/dbload.sh line 36:
xmldbc -P $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
xmldbc -P "$i"
In /logs/firmware/unblob_extracted/firmware_extract/DIR-600_fw_revb5_214b01_ALL_de_20130122/dir600b_v2.14_d1mg.bin_extract/1179788-3612812.squashfs_v4_le_extract/etc/scripts/dbload.sh line 39:
xmldbc -R $i
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
xmldbc -R "$i"
For more information:
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...
https://www.shellcheck.net/wiki/SC2181 -- Check exit code directly with e.g...
[*] Source file dbload.sh