usage () { echo "You must set a $1 !" echo "Usage:" echo " install.sh " 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