#!/bin/bash export LANG="en_US.UTF-8" if [[ -z $(pidof mythbackend) ]]; then sleep 5s && mythbackend --logpath /tmp& fi if [[ -z $(pidof mythfrontend) ]]; then sleep 4s && mythfrontend --logpath /tmp& fi