Added ElK component to policy start up script 75/4475/1
authorRavindra Bakkamanthala <rb7147@att.com>
Thu, 25 May 2017 01:23:35 +0000 (21:23 -0400)
committerRavindra Bakkamanthala <rb7147@att.com>
Thu, 25 May 2017 01:24:08 +0000 (21:24 -0400)
Change-Id: I3bfaf766d4f0d5075ed8cb636f63b539b1d4b324
Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
packages/base/src/files/bin/policy.sh

index a750094..315b3e9 100644 (file)
@@ -108,6 +108,10 @@ function policy_status() {
                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,6 +151,10 @@ function policy_start() {
                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
@@ -188,6 +196,10 @@ function policy_stop() {
                component_stop console
        fi
        
+       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
                component_stop configs
        fi