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/ppp4_status.php line 2:
<?
^-- SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
^-- SC3031 (warning): In POSIX sh, redirecting to/from globs is undefined.


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/ppp4_status.php line 3:
/* $IFNAME, $STATUS, $SESSID, $MTU */
^-- 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.
                                   ^-- SC2035 (info): Use ./*glob* or -- *glob* so names with dashes won't become options.

Did you mean:
/* "$IFNAME", "$STATUS", "$SESSID", "$MTU" */


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/ppp4_status.php line 7:
$infp = XNODE_getpathbytarget("", "inf", "uid", $IFNAME, 0)
^---^ 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 ppp4_status.php