#!/bin/bash
#MESSAGE="Starting `hostname` MythBackend"
#/usr/bin/func "*" call msg display "$MESSAGE" &

svresult=`sudo /sbin/sv start mythbackend`

if [[ $svresult == *"run: "* ]]; then
    MESSAGE="`hostname` MythBackend Started"
else
    MESSAGE="`hostname` MythBackend didn't Start\nCheck MythBackend Log"
fi

/usr/bin/func "*" call msg display "$MESSAGE" &