demo merge into project

This commit is contained in:
Gordon
2021-12-01 14:52:55 +08:00
parent f08941c0bd
commit 0501cbcf4c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ service_port_name=(
)
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
for i in ${service_port_name[*]}; do
if [[ ${switch} -ne true ]]; then
if [ $i -eq openImDemoPort]; then
if [ ${switch} != "true" ]; then
if [ ${i} == "openImDemoPort"]; then
continue
fi
fi