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/events/INF-RESTART.php line 3:
function msg($m) {return 'echo "[INF-RESTART]: '.$m.'" > /dev/console';}
             ^-- 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/events/INF-RESTART.php line 4:
function say($m) {echo msg($m)."\n";}
^-- 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..
                 ^-- SC1073 (error): Couldn't parse this brace group. Fix to allow more checks.
                  ^-- SC1054 (error): You need a space after the '{'.
                          ^-- 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/SC1054 -- You need a space after the '{'.
  https://www.shellcheck.net/wiki/SC1056 -- Expected a '}'. If you have one, ...
  https://www.shellcheck.net/wiki/SC1065 -- Trying to declare parameters? Don...

[*] Source file INF-RESTART.php