demo merge into project
This commit is contained in:
+3
-1
@@ -18,9 +18,11 @@ service_port_name=(
|
|||||||
)
|
)
|
||||||
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
|
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
|
||||||
for i in ${service_port_name[*]}; do
|
for i in ${service_port_name[*]}; do
|
||||||
if [[ ${switch} -ne true ]]&&[$i -eq openImDemoPort]; then
|
if [[ ${switch} -ne true ]]; then
|
||||||
|
if [ $i -eq openImDemoPort]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}')
|
list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}')
|
||||||
list_to_string $list
|
list_to_string $list
|
||||||
for j in ${ports_array}; do
|
for j in ${ports_array}; do
|
||||||
|
|||||||
Reference in New Issue
Block a user