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/M-SEARCH.php line 2:
<? /* vi : set sw=4 ts=4: */
^-- SC1127 (error): Was this intended as a comment? Use # in 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/M-SEARCH.php line 9:
/* check if the $dtype support.*/
^-- SC1127 (error): Was this intended as a comment? Use # in 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/M-SEARCH.php line 10:
function dtype_check($dtype, $infp)
^-- SC1009 (info): The mentioned syntax error was in this function.
^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $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/M-SEARCH.php line 11:
{
^-- SC1073 (error): Couldn't parse this brace group. Fix to allow more checks.
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/M-SEARCH.php line 12:
$count = query($infp."/upnp/count")
^-- SC1036 (error): '(' is invalid here. Did you forget to escape it?
^-- SC1056 (error): Expected a '}'. If you have one, try a ; or \n in front of it.
^-- SC1072 (error): Missing '}'. Fix any mentioned problems and try again.
For more information:
https://www.shellcheck.net/wiki/SC1056 -- Expected a '}'. If you have one, ...
https://www.shellcheck.net/wiki/SC1065 -- Trying to declare parameters? Don...
https://www.shellcheck.net/wiki/SC1127 -- Was this intended as a comment? U...
[*] Source file M-SEARCH.php