Export serial line TTY as env. variable

This is needed for reset command in ryulocal configuration.

Also check whether dtrrts command exists before trying to execute it.