summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/backend_control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/LinHES-config/backend_control.sh')
-rwxr-xr-xabs/core/LinHES-config/backend_control.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/abs/core/LinHES-config/backend_control.sh b/abs/core/LinHES-config/backend_control.sh
index 07ff162..bbc7362 100755
--- a/abs/core/LinHES-config/backend_control.sh
+++ b/abs/core/LinHES-config/backend_control.sh
@@ -15,13 +15,13 @@ case $COMMAND in
if [ $rc != 0 ]
then
- lh_message.sh "Could not stop the backend."
+ msg_client.py --msg "Could not stop the backend."
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* Backend Stopped" > /dev/null
+ msg_client.py --msg "* Backend Stopped" > /dev/null
fi
fi
;;
@@ -31,13 +31,13 @@ case $COMMAND in
rc=$?
if [ $rc != 0 ]
then
- lh_message.sh "Could not start the backend"
+ msg_client.py --msg "Could not start the backend"
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* Backend Started" > /dev/null
+ msg_client.py --msg "* Backend Started" > /dev/null
fi
fi
;;
@@ -53,13 +53,13 @@ case $COMMAND in
rc=$?
if [ $rc != 0 ]
then
- lh_message.sh "Could not clear the cache"
+ msg_client.py --msg "Could not clear the cache"
else
echo "$MESSAGE" | grep -q "'$hostname': 'Message delivered'"
rc=$?
if [ $rc != 0 ]
then
- msg_client.py "* cache cleared" > /dev/null
+ msg_client.py --msg "* cache cleared" > /dev/null
fi
fi
esac