Till Brehm
2014-01-19 5192dbc06c7d08457e652b55f1cba4f0af23c1be
server/server.sh
@@ -4,23 +4,14 @@
. /etc/profile
if [ -f /tmp/ispconfig3_install/install/autoupdate ]; then
   #
   # there is a auto-update waiting for update, so let's do it
   #
   cd /tmp/ispconfig3_install/install
   /usr/bin/php -q autoupdate.php
   cd /
umask 022
   #
   # do some clean-up
   #
   rm /tmp/ispconfig3_install -R
if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then
        PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini`
        if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig'  ]; then
                export PHPRC=/usr/local/ispconfig/server/lib
        fi
fi
else
   #
   # there is no update waiting, so lets start the ISPConfig-System
   #
   cd /usr/local/ispconfig/server
   /usr/bin/php -q /usr/local/ispconfig/server/server.php
fi
cd /usr/local/ispconfig/server
/usr/bin/php -q /usr/local/ispconfig/server/server.php