Commit e424c5c2 by jajapi

fixed Integration_uxen_check.sh

parent f61256f7
...@@ -22,7 +22,7 @@ function CHECK_MEMORY() ...@@ -22,7 +22,7 @@ function CHECK_MEMORY()
DRAW_A_LINE DRAW_A_LINE
} }
function KPF_CHECK_PROCESS() function WEB_CHECK_PROCESS()
{ {
echo -e "\n-------------- Check Process --------------" echo -e "\n-------------- Check Process --------------"
...@@ -461,7 +461,7 @@ function GET_SUMMARY() ...@@ -461,7 +461,7 @@ function GET_SUMMARY()
function CMS_MAIN() function CMS_MAIN()
{ {
GET_DATE GET_DATE
CMS_CHECK_PROCESS CHECK_PROCESS
UXEN_DSTAT UXEN_DSTAT
GET_VM_LIST GET_VM_LIST
CMS_UXEN_VERSION_CHECK CMS_UXEN_VERSION_CHECK
...@@ -504,7 +504,7 @@ function WEB_MAIN() ...@@ -504,7 +504,7 @@ function WEB_MAIN()
function KPF_MAIN() function KPF_MAIN()
{ {
GET_DATE GET_DATE
KPF_CHECK_PROCESS CHECK_PROCESS
KPF_RUN_DSTAT KPF_RUN_DSTAT
GET_VM_LIST GET_VM_LIST
KPF_VERSION_CHECK KPF_VERSION_CHECK
...@@ -527,7 +527,7 @@ function KPF_MAIN() ...@@ -527,7 +527,7 @@ function KPF_MAIN()
function KPF_LOCAL_MAIN() function KPF_LOCAL_MAIN()
{ {
GET_DATE GET_DATE
KPF_CHECK_PROCESS CHECK_PROCESS
KPF_RUN_DSTAT KPF_RUN_DSTAT
GET_VM_LIST GET_VM_LIST
KPF_LOCAL_VERSION_CHECK KPF_LOCAL_VERSION_CHECK
...@@ -545,21 +545,27 @@ function KPF_LOCAL_MAIN() ...@@ -545,21 +545,27 @@ function KPF_LOCAL_MAIN()
GET_SUMMARY GET_SUMMARY
} }
if[-e /opt/uxen3] VAR=0
if [ -e /opt/uxen3 ];
then then
CMS_MAIN CMS_MAIN
VAR=1
fi
elif[-e /opt/pengx3] if [ -e /opt/pengx3 ];
then
WEB_MAIN WEB_MAIN
VAR=1
fi
elif[-e /home/orchard/uxen_new] if [ -e /home/orchard/uxen_new ];
then
KPF_MAIN() KPF_MAIN
VAR=1
else fi
if [ $VAR -eq 0 ]
KPF_LOCAL_MAIN KPF_LOCAL_MAIN
fi
if
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment