summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/runit-scripts-mv/runitscripts/services/frontend/run
blob: 0c75b96eef5d1d8d293e505268ad52455197c6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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