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/usr/sbin/phpsh line 2:
if [ $1 = "debug" ]; then DEBUG=yes; shift; fi
     ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
if [ "$1" = "debug" ]; then DEBUG=yes; shift; fi


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/usr/sbin/phpsh line 5:
while [ -n "$1" ]; do CMD=$CMD" -V \"$1\""; shift; done
                               ^----^ SC2089 (warning): Quotes/backslashes will be treated literally. Rewrite using set/"$@" or functions.


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/usr/sbin/phpsh line 6:
echo $CMD|sh > /var/run/phpsh-$$.sh
     ^--^ SC2090 (warning): Quotes/backslashes in this variable will not be respected.
     ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
echo "$CMD"|sh > /var/run/phpsh-$$.sh

For more information:
  https://www.shellcheck.net/wiki/SC2089 -- Quotes/backslashes will be treate...
  https://www.shellcheck.net/wiki/SC2090 -- Quotes/backslashes in this variab...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

[*] Source file phpsh