#!/bin/bash export TERM=linux . /etc/rc.conf . /etc/rc.d/functions stat_runit "Starting mythrecordingextender" sv start mythbackend || exit 1 sleep 5 exec /usr/local/bin/mre.php