diff options
Diffstat (limited to 'abs/core/runit-scripts/runitscripts/services/mythbackend/run')
-rwxr-xr-x | abs/core/runit-scripts/runitscripts/services/mythbackend/run | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/abs/core/runit-scripts/runitscripts/services/mythbackend/run b/abs/core/runit-scripts/runitscripts/services/mythbackend/run index e3ef721..4bf54fb 100755 --- a/abs/core/runit-scripts/runitscripts/services/mythbackend/run +++ b/abs/core/runit-scripts/runitscripts/services/mythbackend/run @@ -1,33 +1,21 @@ #!/bin/sh exec 2>&1 -#. /etc/profile +. /etc/profile . /etc/systemconfig export TERM=linux . /etc/rc.conf . /etc/rc.d/functions - - -stat_runit "Scanning for new storage" -MYTHCONFDIR=/usr/share/mythtv /usr/LH/bin/add_storage.py --report > /dev/null -if [ -e /tmp/scan_report ] -then - echo "#####################################################" - echo " New storage found " - echo "" - cat /tmp/scan_report - echo "" - echo " run /usr/LH/bin/add_storage.py to make it available " - echo "#######################################################" - -fi - stat_runit "Starting MythBackend" export HOME=/root if [ ! x$SystemType = xSlave_backend ] then sv start mysql > /dev/null 2>/dev/null + #run mythfilldatabase + #printhl " Running mythfilldatabase" + #/usr/MythVantage/bin/initial_db_run & fi +mkfifo /tmp/mbefifo >/dev/null 2>/dev/null #echo "Starting mythbackend" # if [ -f /tmp/debug ] # then |