<p>Write a custom shell script to perform whatever test can detect the remote connection is active. If it is not active AND the original mythshutdown_check (not the right name, but you get the idea) returns with the code for OK to shutdown, then return to caller the same value.  Change MythWelcome setting to call your new script instead of mythshutdown_check.  Problem solved (if you can find a way to detect the upnp connection - maybe just assume if device can be pinged BE should stay up?).</p>

<p>Craig.</p>