Fmli Signal/trap

Does anyone know how to program signals in fmli?

My fmli script goes in loop when the telnet session is closed. When I start the script from the prompt the issue do not happen. But when it is started by the login process it hags. That's why I want to program the SIGHUP to exit/finish the script.

Thanks in advance for any help.

Marcos Brito.