diff options
Diffstat (limited to 'abs/mv-core/MythVantage-system/initial_db_run')
-rw-r--r-- | abs/mv-core/MythVantage-system/initial_db_run | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/abs/mv-core/MythVantage-system/initial_db_run b/abs/mv-core/MythVantage-system/initial_db_run deleted file mode 100644 index edc3784..0000000 --- a/abs/mv-core/MythVantage-system/initial_db_run +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -. /etc/profile -. /etc/systemconfig -rundb=1 - -if [ -f /var/log/mfdb.first.log ] -then - #check exit code - rundb=`tail -1 /var/log/mfdb.first.log` -fi - -if [ ! $rundb = 0 ] -then - echo "Running 1st mythfilldatabase" - echo "Do not remove this file. This file is used to determine if mythfilldatabase needs to run before starting mythbackend" > /var/log/mfdb.first.log - - - /usr/bin/mythfilldatabase 2>&1 >> /var/log/mfdb.first.log - - echo $? >> /var/log/mfdb.first.log -fi - - - |