From e615265d3b51e27f0f664cea193b6353975d6f7d Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 29 Aug 2011 04:25:44 -0400 Subject: [PATCH] Fixed php notice in session library. --- server/server.sh | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/server/server.sh b/server/server.sh index 5f8cc06..7302ca4 100644 --- a/server/server.sh +++ b/server/server.sh @@ -1,7 +1,25 @@ -#!/bin/bash +#!/bin/sh PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin . /etc/profile -/usr/bin/php -q /usr/local/ispconfig/server/server.php \ No newline at end of file +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 / + + # + # do some clean-up + # + rm /tmp/ispconfig3_install -R + +else + # + # there is no update waiting, so lets start the ISPConfig-System + # + /usr/bin/php -q /usr/local/ispconfig/server/server.php +fi \ No newline at end of file -- Gitblit v1.9.1