demo merge into project

pull/103/head
Gordon 3 years ago
parent 2104ba787a
commit 23b965a20a

@ -3,7 +3,7 @@
source ./style_info.cfg
source ./path_info.cfg
source ./function.sh
switch=$(cat $config_path | grep demoswitch )
switch=$(cat $config_path | grep demoswitch |awk -F '[:]' '{print $NF}')
if [[ ${switch} -ne true ]]; then
echo -e ${YELLOW_PREFIX}" demo service switch is false not start demo "${COLOR_SUFFIX}
exit 0

Loading…
Cancel
Save