diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-27 05:08:19 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-27 05:08:19 (GMT) |
commit | c84172505058980b3d952561241dbd16bbd93b04 (patch) | |
tree | bb096137d4375de45267d5b42f598f800d0a8a3b /abs/core/LinHES-config/backend_control.sh | |
parent | aeb0197b0731ae769b1aae8394eb6fc650757cdf (diff) | |
download | linhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.zip linhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.tar.gz linhes_pkgbuild-c84172505058980b3d952561241dbd16bbd93b04.tar.bz2 |
LinHES-config: adjust for new msg_client.py syntax
Diffstat (limited to 'abs/core/LinHES-config/backend_control.sh')
-rwxr-xr-x | abs/core/LinHES-config/backend_control.sh | 12 |
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 |