#!/bin/sh export TERM=linux . /etc/rc.conf . /etc/rc.d/functions exec 2>&1 sv start dbus sv start hal grep -q noautologin /proc/cmdline STATUS=$? if [ $STATUS = 0 ] then sv down frontend exit 0 fi stat_runit "Starting MythVantage frontend" exec /bin/su - mythtv -l -c STB-start