2011/3/14 Klaus Darilion klaus.mailinglists@pernau.at:
if [ "$RUN_KAMAILIO" != "yes" ]; then echo "Kamailio not yet configured. Edit /etc/default/kamailio first."
- exit 0
- case "$1" in
- status)
- exit 4
- ;;
- *)
- exit 1
- ;;
- esac
fi
Hi Klaus, I agree, but in case of "stop" action is should return 0 as the daemon is indeed stoped (LSB compliant).