aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavindra Bakkamanthala <rb7147@att.com>2017-05-24 21:23:35 -0400
committerRavindra Bakkamanthala <rb7147@att.com>2017-05-24 21:24:08 -0400
commit6a5e800771311208c66ad79ce1bdf76affd144b2 (patch)
tree671060e4ab49a269a0d18e83e521af7cff988168
parent87c95be02a8a4d77e165dede90777e811b59dcae (diff)
Added ElK component to policy start up script
Change-Id: I3bfaf766d4f0d5075ed8cb636f63b539b1d4b324 Signed-off-by: Ravindra Bakkamanthala <rb7147@att.com>
-rw-r--r--packages/base/src/files/bin/policy.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/base/src/files/bin/policy.sh b/packages/base/src/files/bin/policy.sh
index a7500947a..315b3e963 100644
--- a/packages/base/src/files/bin/policy.sh
+++ b/packages/base/src/files/bin/policy.sh
@@ -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