Prompt for webserver being nginx or apache2
This commit is contained in:
parent
9bf70dcd58
commit
5cb246442f
1 changed files with 10 additions and 2 deletions
|
@ -382,10 +382,18 @@ else
|
|||
echo -e ""
|
||||
echo -e ""
|
||||
|
||||
echo ""
|
||||
echo -n "Default web server software to install (default apache)? [apache/nginx]: "
|
||||
read insMode
|
||||
insMode=$(echo "$insMode" | awk '{print tolower($0)}')
|
||||
if [ ! -z "$insMode" ] && [ "$insMode" == "nginx" ]; then
|
||||
webserver="nginx"
|
||||
fi
|
||||
|
||||
echo -e "Running the main installer now..."
|
||||
|
||||
# Run the main installer
|
||||
echo "bash install_main.sh $unattendedMode $extra $debug"
|
||||
bash install_main.sh $unattendedMode $extra $debug
|
||||
echo "bash install_main.sh $unattendedMode $extra $debug $webserver"
|
||||
bash install_main.sh $unattendedMode $extra $debug $webserver
|
||||
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue