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/IPV6.INET.php line 6:
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/scripts/IPV6.INET.php line 7:
function msg($msg) {cmd("echo ".$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 IPV6.INET.php