pull/55/head
Joe Prochazka 2016-01-08 12:02:34 -05:00
rodzic 8e24da42ff
commit 516df38922
7 zmienionych plików z 17 dodań i 16 usunięć

Wyświetl plik

@ -33,7 +33,7 @@
## VAARIABLES
BUILDDIR=${PWD}
BUILDDIR=$PWD
PIAWAREDIR="$PWD/piaware_builder"
source ../bash/variables.sh

Wyświetl plik

@ -31,7 +31,7 @@
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
BUILDDIR="${PWD}/build"
BUILDDIR=$PWD
# Assign the Lighthttpd document root directory to a variable.
RAWDOCUMENTROOT=`/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -p | grep server.document-root`

Wyświetl plik

@ -31,7 +31,7 @@
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
BUILDDIR="${PWD}/build"
BUILDDIR=$PWD
# Assign the Lighthttpd document root directory to a variable.
RAWDOCUMENTROOT=`/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -p | grep server.document-root`

Wyświetl plik

@ -31,9 +31,10 @@
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
SCRIPTDIR=${PWD}
BUILDDIR=$PWD
BASHDIR=$BUILDDIR/../bash
source ../functions.sh
source ../bash/functions.sh
clear
@ -64,27 +65,27 @@ CheckPackage rrdtool
echo -e "\033[33m"
echo "Installing homepage..."
echo -e "\033[37m"
chmod +x $SCRIPTDIR/bash/portal/homepage.sh
$SCRIPTDIR/bash/portal/homepage.sh
chmod +x $BASHDIR/portal/homepage.sh
$BASHDIR/portal/homepage.sh
echo -e "\033[33m"
echo "Installing map container..."
echo -e "\033[37m"
chmod +x $SCRIPTDIR/bash/portal/map.sh
$SCRIPTDIR/bash/portal/map.sh
chmod +x $BASHDIR/portal/map.sh
$BASHDIR/portal/map.sh
echo -e "\033[33m"
echo "Installing performance graphs..."
echo -e "\033[37m"
chmod +x $SCRIPTDIR/bash/portal/graphs.sh
$SCRIPTDIR/bash/portal/graphs.sh
chmod +x $BASHDIR/portal/graphs.sh
$BASHDIR/portal/graphs.sh
if [ $(dpkg-query -W -f='${STATUS}' pfclient 2>/dev/null | grep -c "ok installed") -eq 1 ]; then
echo -e "\033[33m"
echo "Installing performance graphs..."
echo -e "\033[37m"
chmod +x $SCRIPTDIR/bash/portal/planefinder.sh
$SCRIPTDIR/bash/portal/planefinder.sh
chmod +x $BASHDIR/portal/planefinder.sh
$BASHDIR/portal/planefinder.sh
fi
echo -e "\033[33m"

Wyświetl plik

@ -31,7 +31,7 @@
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
BUILDDIR="${PWD}/build"
BUILDDIR=$PWD
# Assign the Lighthttpd document root directory to a variable.
RAWDOCUMENTROOT=`/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -p | grep server.document-root`

Wyświetl plik

@ -31,7 +31,7 @@
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
BUILDDIR="${PWD}/build"
BUILDDIR=$PWD
# Assign the Lighthttpd document root directory to a variable.
RAWDOCUMENTROOT=`/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf -p | grep server.document-root`

Wyświetl plik

@ -36,7 +36,7 @@
## VARIABLES
BASEDIR=${PWD}
BASEDIR=$PWD
BASHDIR="$BASEDIR/bash"
BUILDDIR="$BASEDIR/build"