In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 5:
	result=`GetFWVersion`
               ^------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(GetFWVersion)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 6:
	echo fw ver: [$result]
                      ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo fw ver: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 11:
	result=`pibinfo ModelName`
               ^-----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo ModelName)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 12:
	echo model name: [$result]
                          ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo model name: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 17:
	result=`pibinfo MacAddress`
               ^------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo MacAddress)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 18:
	echo MAC get addr: [$result]
                            ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo MAC get addr: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 24:
	echo MacAddress=$addr | pibinfo set
                        ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo MacAddress="$addr" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 26:
	echo $addr > /tmp/macaddr.cmd
             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$addr" > /tmp/macaddr.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 28:
	[ $? -eq 0 ] && echo MAC set addr: $addr DONE || echo MAC set addr: $addr ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                            ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo MAC set addr: "$addr" DONE || echo MAC set addr: "$addr" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 33:
	result=`pibinfo BootMode`
               ^----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo BootMode)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 34:
	echo Boot mode get: [$result]
                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Boot mode get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 40:
	echo BootMode=$boot | pibinfo set
                      ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo BootMode="$boot" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 44:
	echo $boot > /tmp/boot.cmd.tmp
             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$boot" > /tmp/boot.cmd.tmp


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 45:
	cmd=`wc -c /tmp/boot.cmd.tmp | cut -d " " -f 1`
            ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	cmd=$(wc -c /tmp/boot.cmd.tmp | cut -d " " -f 1)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 46:
	count=$(($cmd-1))
                 ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 50:
	[ $? -eq 0 ] && echo Boot mode set: $boot DONE || echo Boot mode set: $boot ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                            ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Boot mode set: "$boot" DONE || echo Boot mode set: "$boot" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 55:
	result=`pibinfo Region`
               ^--------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo Region)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 56:
	echo Region code get: [$result]
                               ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Region code get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 62:
	echo Region=$region | pibinfo set
                    ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Region="$region" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 64:
	echo $region > /tmp/region.cmd
             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$region" > /tmp/region.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 66:
	[ $? -eq 0 ] && echo Region code set: $region DONE || echo Region code set: $region ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                              ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                    ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Region code set: "$region" DONE || echo Region code set: "$region" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 71:
	result=`pibinfo PowerFrequency`
               ^----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo PowerFrequency)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 72:
	echo Power frequency get: [$result]
                                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Power frequency get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 78:
	echo PowerFrequency=$powerfrequency | pibinfo set
                            ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo PowerFrequency="$powerfrequency" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 80:
	echo $powerfrequency > /tmp/powerfrequency.cmd
             ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$powerfrequency" > /tmp/powerfrequency.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 82:
	[ $? -eq 0 ] && echo PowerFrequency code set: $powerfrequency DONE || echo PowerFrequency code set: $powerfrequency ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                                      ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                            ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo PowerFrequency code set: "$powerfrequency" DONE || echo PowerFrequency code set: "$powerfrequency" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 87:
	result=`pibinfo DevUid`
               ^--------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo DevUid)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 88:
	echo Dev UID get: [$result]
                           ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Dev UID get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 94:
	echo DevUid=$dev_uid | pibinfo set
                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo DevUid="$dev_uid" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 96:
	echo $dev_uid > /tmp/dev_uid.cmd
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$dev_uid" > /tmp/dev_uid.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 98:
	[ $? -eq 0 ] && echo Dev UID set: $dev_uid DONE || echo Dev UID set: $dev_uid ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                          ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Dev UID set: "$dev_uid" DONE || echo Dev UID set: "$dev_uid" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 103:
	result=`pibinfo Pincode`
               ^---------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo Pincode)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 104:
	echo PIN code get: [$result]
                            ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo PIN code get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 110:
	echo Pincode=$pin_code | pibinfo set
                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Pincode="$pin_code" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 112:
	echo $pin_code > /tmp/pin_code.cmd
             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$pin_code" > /tmp/pin_code.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 114:
	[ $? -eq 0 ] && echo PIN code set: $pin_code DONE || echo PIN code set: $pin_code ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                           ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo PIN code set: "$pin_code" DONE || echo PIN code set: "$pin_code" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 119:
	result=`pibinfo FactoryPassword`
               ^-----------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo FactoryPassword)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 120:
	echo FactoryPassword get: [$result]
                                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo FactoryPassword get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 126:
	echo FactoryPassword=$factory_password | pibinfo set
                             ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo FactoryPassword="$factory_password" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 128:
	echo $factory_password > /tmp/factory_password.cmd
             ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$factory_password" > /tmp/factory_password.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 130:
	[ $? -eq 0 ] && echo Factory Password set: $factory_password DONE || echo Factory Password set: $factory_password ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                                   ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                        ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Factory Password set: "$factory_password" DONE || echo Factory Password set: "$factory_password" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 135:
	result=`pibinfo MyDlinkNumber`
               ^---------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo MyDlinkNumber)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 136:
	echo Mydlink number get: [$result]
                                  ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Mydlink number get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 142:
	echo MyDlinkNumber=$mydlink_num | pibinfo set
                           ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo MyDlinkNumber="$mydlink_num" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 144:
	echo $mydlink_num > /tmp/mydlink_num.cmd
             ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$mydlink_num" > /tmp/mydlink_num.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 146:
	[ $? -eq 0 ] && echo Mydlink number set: $mydlink_num DONE || echo Mydlink number set: $mydlink_num ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                                 ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                               ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Mydlink number set: "$mydlink_num" DONE || echo Mydlink number set: "$mydlink_num" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 151:
	result=`pibinfo MyDlinkPublicKey`
               ^------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo MyDlinkPublicKey)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 152:
	echo Mydlink public get: [$result]
                                  ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Mydlink public get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 158:
	echo MyDlinkPublicKey=$mydlink_public_key | pibinfo set
                              ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo MyDlinkPublicKey="$mydlink_public_key" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 160:
	echo $mydlink_public_key > /tmp/mydlink_public_key.cmd
             ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$mydlink_public_key" > /tmp/mydlink_public_key.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 162:
	[ $? -eq 0 ] && echo Mydlink public set: $mydlink_public_key DONE || echo Mydlink public set: $mydlink_public_key ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                                 ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                      ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Mydlink public set: "$mydlink_public_key" DONE || echo Mydlink public set: "$mydlink_public_key" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 167:
	result=`pibinfo MyDlinkPrivateKey`
               ^-------------------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	result=$(pibinfo MyDlinkPrivateKey)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 168:
	echo Mydlink private get: [$result]
                                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Mydlink private get: ["$result"]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 174:
	echo MyDlinkPrivateKey=$mydlink_private_key | pibinfo set
                               ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo MyDlinkPrivateKey="$mydlink_private_key" | pibinfo set


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 176:
	echo $mydlink_private_key > /tmp/mydlink_private_key.cmd
             ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$mydlink_private_key" > /tmp/mydlink_private_key.cmd


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 178:
	[ $? -eq 0 ] && echo Mydlink private set: $mydlink_private_key DONE || echo Mydlink private set: $mydlink_private_key ERROR
          ^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
                                                  ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                         ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $? -eq 0 ] && echo Mydlink private set: "$mydlink_private_key" DONE || echo Mydlink private set: "$mydlink_private_key" ERROR


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 183:
	echo Light sensor value: [`sniff lightsensor`]
                                  ^-----------------^ SC2046 (warning): Quote this to prevent word splitting.
                                  ^-----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	echo Light sensor value: [$(sniff lightsensor)]


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 194:
	echo "eapol_version=1"				>> /tmp/wpa_supplicant.conf
        ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 206:
	echo " "						>> /tmp/udhcpc.sh.tmp
        ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 213:
	cat /tmp/udhcpc.sh.tmp | sed -r -e "s/@/$/g"		>> /tmp/udhcpc.sh
            ^----------------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 239:
	echo "eapol_version=1"				>> /tmp/wpa_supplicant.conf
        ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 249:
	echo " "						>> /tmp/udhcpc.sh.tmp
        ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 256:
	cat /tmp/udhcpc.sh.tmp | sed -r -e "s/@/$/g"		>> /tmp/udhcpc.sh
            ^----------------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 279:
	[ $mode = 0 ] && light ir off || light ir on
          ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                      ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.

Did you mean: 
	[ "$mode" = 0 ] && light ir off || light ir on


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 280:
	[ $mode = 0 ] && echo "ICR mode set: OFF, day mode DONE" || echo "ICR mode set: ON, night mode DONE"
          ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$mode" = 0 ] && echo "ICR mode set: OFF, day mode DONE" || echo "ICR mode set: ON, night mode DONE"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 287:
	mixer vol $volume
                  ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	mixer vol "$volume"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 289:
	echo Volume set: $volume DONE
                         ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo Volume set: "$volume" DONE


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 379:
	while [ $CNT -le $timeout ] && [ $value -eq 0 ]; do 
                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                         ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	while [ $CNT -le "$timeout" ] && [ "$value" -eq 0 ]; do 


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 381:
		value=$(send_cmd watchdog $cmd)
                                          ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		value=$(send_cmd watchdog "$cmd")


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 382:
		if [ $value -eq 0 ]; then
                     ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$value" -eq 0 ]; then


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 384:
			CNT=$(($CNT+1))
                               ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 388:
	[ $value -eq 1 ] && result="PASS" || result="FAIL"
          ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$value" -eq 1 ] && result="PASS" || result="FAIL"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 409:
			aplay $file &
                              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			aplay "$file" &


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 466:
				set_led $id $value
                                        ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                            ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_led "$id" "$value"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 469:
				set_mac_addr $id
                                             ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_mac_addr "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 472:
				set_ssid $id $value
                                         ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                             ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_ssid "$id" "$value"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 475:
				set_ssid_none_security $id
                                                       ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_ssid_none_security "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 478:
				set_boot_mode $id
                                              ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_boot_mode "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 481:
				set_region_code $id
                                                ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_region_code "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 487:
				set_icr_mode $id
                                             ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_icr_mode "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 490:
				set_volume $id
                                           ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_volume "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 493:
				set_power_frequency $id
                                                    ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_power_frequency "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 496:
				set_dev_uid $id
                                            ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_dev_uid "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 499:
				set_pin_code $id
                                             ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_pin_code "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 502:
				set_factory_password $id
                                                     ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_factory_password "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 505:
				set_mydlink_num $id
                                                ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_mydlink_num "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 508:
				set_mydlink_public_key $id
                                                       ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_mydlink_public_key "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 511:
				set_mydlink_private_key $id
                                                        ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				set_mydlink_private_key "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 516:
		check_button $cmd $id
                             ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                  ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		check_button "$cmd" "$id"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/bin/mp line 521:
				play_audio $id $value
                                           ^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				play_audio "$id" "$value"

For more information:
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...