summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts/services/frontend/run
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts/services/frontend/run')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/services/frontend/run9
1 files changed, 8 insertions, 1 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/services/frontend/run b/abs/core-testing/runit-scripts/runitscripts/services/frontend/run
index 72423da..c1e2f2d 100755
--- a/abs/core-testing/runit-scripts/runitscripts/services/frontend/run
+++ b/abs/core-testing/runit-scripts/runitscripts/services/frontend/run
@@ -1,4 +1,8 @@
#!/bin/sh
+export TERM=linux
+. /etc/rc.conf
+. /etc/rc.d/functions
+
exec 2>&1
grep -qi nox /proc/cmdline
STATUS=$?
@@ -9,6 +13,9 @@ exec 2>&1
fi
touch /var/log/fluxbox.log
chown mythtv:mythtv /var/log/fluxbox.log
-echo "Starting LinHES frontend" >/dev/tty1
+
+stat_runit "Starting LinHES frontend"
+
+#echo "Starting LinHES frontend" >/dev/tty1
exec /bin/su - mythtv -l -c /usr/LH/bin/LinHES-start