Merge branch 'master' of git://github.com/RudolfRendier/OpenELEC.tv

This commit is contained in:
Stephan Raue 2011-08-16 16:07:25 +02:00
commit 60d39b1f8a

View File

@ -160,7 +160,7 @@ python $ADDON_DIR/bin/ini_tool --action=write \
SABNZBD_IP="0.0.0.0"
fi
if [ ! -f "$ADDON_HOME/sabnzbd.ini" ]; then
if [ ! -f "SABNZBD_SETTINGS" ]; then
SABNZBD_FIRSTRUN="yes"
fi
@ -213,7 +213,7 @@ python $ADDON_DIR/bin/ini_tool --action=write \
################################################################################
# start sabnzbd
################################################################################
python $ADDON_DIR/SABnzbd/SABnzbd.py -d -f $ADDON_HOME/sabnzbd.ini -l 0
python $ADDON_DIR/SABnzbd/SABnzbd.py -d -f $SABNZBD_SETTINGS -l 0
################################################################################
# read sabnzbd settings
@ -227,7 +227,7 @@ python $ADDON_DIR/bin/ini_tool --action=write \
SICKBEARD_IP="0.0.0.0"
fi
if [ ! -f "$ADDON_HOME/config.ini" ]; then
if [ ! -f "$SICKBEARD_SETTINGS" ]; then
SICKBEARD_FIRSTRUN="yes"
fi
@ -268,7 +268,7 @@ python $ADDON_DIR/bin/ini_tool --action=write \
COUCHPOTATO_IP="0.0.0.0"
fi
if [ ! -f "$ADDON_HOME/couchpotato.ini" ]; then
if [ ! -f "$COUCHPOTATO_SETTINGS" ]; then
COUCHPOTATO_FIRSTRUN="yes"
fi
@ -296,4 +296,4 @@ python $ADDON_DIR/bin/ini_tool --action=write \
################################################################################
# start couchpotato
################################################################################
python $ADDON_DIR/CouchPotato/CouchPotato.py -d --datadir $ADDON_HOME --config $ADDON_HOME/couchpotato.ini
python $ADDON_DIR/CouchPotato/CouchPotato.py -d --datadir $ADDON_HOME --config $COUCHPOTATO_SETTINGS