CC-3738: Installation: Errors on installation
-also commented out code
This commit is contained in:
parent
af1b5d3f7a
commit
42fbab9ff7
|
@ -35,7 +35,9 @@ AIRTIMEROOT=$SCRIPTPATH/../../
|
||||||
|
|
||||||
echo "* Creating /etc/airtime"
|
echo "* Creating /etc/airtime"
|
||||||
mkdir -p /etc/airtime
|
mkdir -p /etc/airtime
|
||||||
if [ ! -e /etc/airtime/airtime.conf ]; then
|
#if [ ! -e /etc/airtime/airtime.conf ]; then
|
||||||
|
if [ "$DO_UPGRADE" -eq "0" ]; then
|
||||||
|
#We aren't doing an upgrade so simply overwrite the config files.
|
||||||
cp $AIRTIMEROOT/airtime_mvc/build/airtime.conf /etc/airtime
|
cp $AIRTIMEROOT/airtime_mvc/build/airtime.conf /etc/airtime
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -62,9 +64,6 @@ if [ "$python_service" -eq "0" ]; then
|
||||||
if [ "$pypo" = "t" ]; then
|
if [ "$pypo" = "t" ]; then
|
||||||
python $AIRTIMEROOT/python_apps/pypo/install/pypo-copy-files.py
|
python $AIRTIMEROOT/python_apps/pypo/install/pypo-copy-files.py
|
||||||
fi
|
fi
|
||||||
#if [ "$showrecorder" = "t" ]; then
|
|
||||||
# python $AIRTIMEROOT/python_apps/show-recorder/install/recorder-copy-files.py
|
|
||||||
#fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /usr/lib/airtime
|
mkdir -p /usr/lib/airtime
|
||||||
|
|
|
@ -36,10 +36,6 @@ fi
|
||||||
if [ "$pypo" = "t" ]; then
|
if [ "$pypo" = "t" ]; then
|
||||||
python $AIRTIMEROOT/python_apps/pypo/install/pypo-initialize.py
|
python $AIRTIMEROOT/python_apps/pypo/install/pypo-initialize.py
|
||||||
fi
|
fi
|
||||||
#if [ "$showrecorder" = "t" ]; then
|
|
||||||
# python $AIRTIMEROOT/python_apps/show-recorder/install/recorder-initialize.py
|
|
||||||
#fi
|
|
||||||
|
|
||||||
|
|
||||||
# Start monit if it is not running, or restart if it is.
|
# Start monit if it is not running, or restart if it is.
|
||||||
# Need to ensure monit is running before Airtime daemons are run. This is
|
# Need to ensure monit is running before Airtime daemons are run. This is
|
||||||
|
|
Loading…
Reference in New Issue