display debug only if 'debug' passed to script
This commit is contained in:
parent
0479563690
commit
306b6cfa47
4
setup.sh
4
setup.sh
@ -818,6 +818,7 @@ echo -e "${ok}Setup script completed${norm}"
|
|||||||
|
|
||||||
|
|
||||||
# debug section
|
# debug section
|
||||||
|
if [ "${1}" = "debug" ]; then
|
||||||
echo -e "\n${mag}---------------------${norm}"
|
echo -e "\n${mag}---------------------${norm}"
|
||||||
echo "Local IP4: $IP4"
|
echo "Local IP4: $IP4"
|
||||||
echo "Server names: ${serverNames[*]}"
|
echo "Server names: ${serverNames[*]}"
|
||||||
@ -838,7 +839,6 @@ echo "PHP address: $phpAddr"
|
|||||||
echo "PHP port: $phpPort"
|
echo "PHP port: $phpPort"
|
||||||
echo "PHP socket: $phpSock"
|
echo "PHP socket: $phpSock"
|
||||||
echo -e "${mag}---------------------${norm}\n"
|
echo -e "${mag}---------------------${norm}\n"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
Loading…
Reference in New Issue
Block a user