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/killpid.sh line 3:
pid=`pfile -f $1`
^-----------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pid=$(pfile -f "$1")
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/killpid.sh line 4:
[ "$pid" != "0" ] && kill $pid > /dev/console 2>&
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$pid" != "0" ] && kill "$pid" > /dev/console 2>&1
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/killpid.sh line 5:
rm -f $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$1"
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...
[*] Source file killpid.sh