Added ElK component to policy start up script
Change-Id: I3bfaf766d4f0d5075ed8cb636f63b539b1d4b324
Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
diff --git a/packages/base/src/files/bin/policy.sh b/packages/base/src/files/bin/policy.sh
index a750094..315b3e9 100644
--- a/packages/base/src/files/bin/policy.sh
+++ b/packages/base/src/files/bin/policy.sh
@@ -108,6 +108,10 @@
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 @@
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 @@
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