aboutsummaryrefslogtreecommitdiff
path: root/install.sh
blob: fc032a839d5f536a1a22b4957678d01adc8ba73b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
usage () {
 echo "You must set a $1 !"
 echo "Usage:"
 echo "    install.sh <user> <password>"
 exit 0
}

if [ -z $1 ]; then
 usage "USER"
elif [ -z $2 ]; then
 usage "PASSWORD"
fi

./new_kresus.sh $1 $2
./create_service.sh $1
sudo ./create_apache_conf.sh $1