Added ElK component to policy start up script
[policy/engine.git] / packages / base / src / files / bin / policy.sh
index 0b061a4..315b3e9 100644 (file)
@@ -104,14 +104,14 @@ function policy_status() {
                component_status configs
        fi
        
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_status pypdp
-       fi
-       
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_status console
        fi
        
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_status elk
+       fi
+       
        if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then
                component_status brmsgw
        fi
@@ -147,14 +147,14 @@ function policy_start() {
                component_start configs
        fi
        
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_start pypdp
-       fi
-       
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_start console
        fi
        
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_start elk
+       fi
+       
        if check_x_file "${POLICY_HOME}/etc/init.d/brmsgw"; then
                component_start brmsgw
        fi
@@ -195,9 +195,9 @@ function policy_stop() {
        if check_x_file "${POLICY_HOME}/etc/init.d/console"; then
                component_stop console
        fi
-               
-       if check_x_file "${POLICY_HOME}/etc/init.d/pypdp"; then
-               component_stop pypdp
+       
+       if check_x_file "${POLICY_HOME}/etc/init.d/elk"; then
+               component_stop elk
        fi
        
        if check_x_file "${POLICY_HOME}/etc/init.d/configs"; then