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/inet6_rdisc6_helper.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/services/INET/inet6_rdisc6_helper.php line 7:
function cmd($cmd) {echo $cmd."\n";}
^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $2..
^-- SC1054 (error): You need a space after the '{'.
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/inet6_rdisc6_helper.php line 8:
function msg($msg) {cmd("echo [RDISC6]: ".$msg." > /dev/console");}
^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $2..
^-- SC1009 (info): The mentioned syntax error was in this brace group.
^-- SC1054 (error): You need a space after the '{'.
^-- SC1073 (error): Couldn't parse this function. Fix to allow more checks.
^-- SC1065 (error): Trying to declare parameters? Don't. Use () and refer to params as $1, $2..
^-- SC1064 (error): Expected a { to open the function definition.
^-- SC1072 (error): Fix any mentioned problems and try again.
For more information:
https://www.shellcheck.net/wiki/SC1054 -- You need a space after the '{'.
https://www.shellcheck.net/wiki/SC1064 -- Expected a { to open the function...
https://www.shellcheck.net/wiki/SC1065 -- Trying to declare parameters? Don...
[*] Source file inet6_rdisc6_helper.php