#!/bin/sh # # $OpenBSD: daemon="${TRUEPREFIX}/sbin/kamailio" . /etc/rc.d/rc.subr rc_pre() { install -d -o _kamailio /var/run/kamailio } rc_start() { ${rcexec} "${TRUEPREFIX}/sbin/kamctl start" } rc_stop() { ${rcexec} "${TRUEPREFIX}/sbin/kamctl stop" } rc_reload=NO rc_cmd $1