pull/173/head
Joe Prochazka 2016-04-29 12:40:14 -04:00
rodzic 892b660325
commit 20ee6c8e7f
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -124,7 +124,7 @@ else
read -p "Use portal with advanced features? [1] " DATABASEENGINE read -p "Use portal with advanced features? [1] " DATABASEENGINE
# Check if the user is using a remote MySQL database. # Check if the user is using a remote MySQL database.
if [[ $DATABASEENGINE == 1 ]]; then if [[ $DATABASEENGINE != 2 ]]; then
echo -e "\033[31m" echo -e "\033[31m"
echo "Will the database be hosted locally on this device or remotely?" echo "Will the database be hosted locally on this device or remotely?"
echo -e "\033[33m" echo -e "\033[33m"
@ -162,7 +162,7 @@ if [[ $ADVANCED =~ ^[yY]$ ]]; then
fi fi
fi fi
if [[ INSTALLED == "n" ]]; then if [[ $INSTALLED == "n" ]]; then
## CREATE THE DATABASE IF ADVANCED FEATURES WAS SELECTED ## CREATE THE DATABASE IF ADVANCED FEATURES WAS SELECTED
@ -272,7 +272,7 @@ EOF
# Start flight logging. # Start flight logging.
echo -e "\033[33m" echo -e "\033[33m"
echo -e "Starting flight logging...\033[37m" echo -e "Starting flight logging...\033[37m"
${BUILDDIR}/portal/logging/flights-maint.sh & nohup ${BUILDDIR}/portal/logging/flights-maint.sh > /dev/null 2>&1 &
fi fi
fi fi
@ -285,9 +285,9 @@ sudo cp -R ${HTMLDIR}/* ${DOCUMENTROOT}
echo -e "\033[33m" echo -e "\033[33m"
echo "Setting permissions on portal folders...\033[37m" echo "Setting permissions on portal folders...\033[37m"
sudo chmod 777 ${DOCUMENTROOT}/graphs/ sudo chmod 777 ${DOCUMENTROOT}/graphs/
sudo chmod 777 ${DOCUMENTROOT}/classes/
sudo chmod 777 ${DOCUMENTROOT}/data/ sudo chmod 777 ${DOCUMENTROOT}/data/
sudo chmod 666 ${DOCUMENTROOT}/data/* sudo chmod 666 ${DOCUMENTROOT}/data/*
sudo chmod 666 ${DOCUMENTROOT}/classes/settings.class.php
echo -e "\033[33m" echo -e "\033[33m"
echo "Setting up performance graphs..." echo "Setting up performance graphs..."