tbrehm
2011-09-27 f99b1258cff495449529c6039274cf8255a81183
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
 
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
 
. /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 /
 
    #
    # do some clean-up
    #
    rm /tmp/ispconfig3_install -R
 
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