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/upnp/NOTIFYAB.sh line 2:
UPNPMSG=`xmldbc -g /runtime/upnpmsg`
^--------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
UPNPMSG=$(xmldbc -g /runtime/upnpmsg)
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/upnp/NOTIFYAB.sh line 4:
echo "[$0]: [$1] [$2] [$3] [$4] [$5] ..." > $UPNPMSG
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "[$0]: [$1] [$2] [$3] [$4] [$5] ..." > "$UPNPMSG"
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/upnp/NOTIFYAB.sh line 10:
if [ ! -f /var/run/notify.$1.$2.sh ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ ! -f /var/run/notify."$1"."$2".sh ]; then
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/upnp/NOTIFYAB.sh line 11:
xmldbc -P /etc/scripts/upnp/NOTIFYAB.php -V NTS=$1 -V PHYINF=$3 -V IPADDR=$4 -V IPTYPE=$6 > /var/run/notify.$1.$2.sh
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
xmldbc -P /etc/scripts/upnp/NOTIFYAB.php -V NTS="$1" -V PHYINF="$3" -V IPADDR="$4" -V IPTYPE="$6" > /var/run/notify."$1"."$2".sh
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/upnp/NOTIFYAB.sh line 13:
xmldbc -k upnp_alive_$2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
xmldbc -k upnp_alive_"$2"
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/upnp/NOTIFYAB.sh line 14:
sh /var/run/notify.$1.$2.sh
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sh /var/run/notify."$1"."$2".sh
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/upnp/NOTIFYAB.sh line 18:
rm /var/run/notify.*.$2.sh
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm /var/run/notify.*."$2".sh
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 NOTIFYAB.sh