Help getting FireMotD working again Problems with Sudo .\FireMotD -S

Check for content in .bash_profile of the related user.
There should be one row that contains the substring logo

 echo -e "\\n$(sed -e 's|$OHVERSION|'"${OHVERSION}"'|g' -e 's|$OHBUILD|'"${OHBUILD}"'|g' -e 's|${HOSTNAME}|'"${HOSTNAME}"'|g' /opt/openhabian/includes/${OHPKG}logo)\\n"

It is responsible to put the logo onto the screen together with other code lines before to set related environment variables.