Module: sip-router
Branch: master
Commit: 8b57c2d61d018efd1ea728b9a131b94ef0f87238
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8b57c2d…
Author: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Committer: Klaus Darilion <klaus.mailinglists(a)pernau.at>
Date: Wed Mar 16 09:58:17 2011 +0100
proper LSB return value
---
pkg/kamailio/deb/debian/kamailio.init | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pkg/kamailio/deb/debian/kamailio.init
b/pkg/kamailio/deb/debian/kamailio.init
index 0f23fa4..14eb43f 100644
--- a/pkg/kamailio/deb/debian/kamailio.init
+++ b/pkg/kamailio/deb/debian/kamailio.init
@@ -95,10 +95,12 @@ if [ "$RUN_KAMAILIO" != "yes" ]; then
echo "Kamailio not yet configured. Edit /etc/default/kamailio first."
case "$1" in
status)
+ # 4 program or service status is unknown
exit 4
;;
*)
- exit 1
+ # 6 program is not configured
+ exit 6
;;
esac
fi