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/services/INET/ppp6_ipdown.php line 2:
<? /* $IFNAME, $DEVICE, $SPEED, $IP, $REMOTE, $PARAM */
^-- SC3031 (warning): In POSIX sh, redirecting to/from globs is undefined.
   ^-- SC1127 (error): Was this intended as a comment? Use # in sh.
   ^-- SC2211 (warning): This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?
      ^-----^ 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.
                                                     ^-- SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.

Did you mean:
<? /* "$IFNAME", "$DEVICE", "$SPEED", "$IP", "$REMOTE", "$PARAM" */


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/services/INET/ppp6_ipdown.php line 5:
/*add 3g connecttime*/
^---^ SC1127 (error): Was this intended as a comment? Use # in sh.
^---^ SC2211 (warning): This is a glob used as a command name. Was it supposed to be in ${..}, array, or is it missing quoting?


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/services/INET/ppp6_ipdown.php line 6:
$infp = XNODE_getpathbytarget("/runtime", "inf", "uid", $PARAM, 1)
^---^ SC2154 (warning): infp is referenced but not assigned.
      ^-- SC2283 (error): Remove spaces around = to assign (or use [ ] to compare, or quote '=' if literal).
                             ^-- SC1036 (error): '(' is invalid here. Did you forget to escape it?
                             ^-- SC1088 (error): Parsing stopped here. Invalid use of parentheses?

For more information:
  https://www.shellcheck.net/wiki/SC1127 -- Was this intended as a comment? U...
  https://www.shellcheck.net/wiki/SC2283 -- Remove spaces around = to assign ...
  https://www.shellcheck.net/wiki/SC2154 -- infp is referenced but not assign...

[*] Source file ppp6_ipdown.php