#! /bin/sh

. "`dirname $0`/rcdefs"

PATH=${PATH_SYS}

case "$1" in
  start)
    Print -n "Starting isdnlog... "
    ${BIN_RM} -f ${RUN}/isdnlog.isdnctrl0.pid
    isdnlog ${ISDNLOG_OPTIONS} /dev/isdnctrl0
    Print "done."
    ;;
  stop)
    Print -n "Stopping isdnlog... "
    Terminate isdnlog ${RUN}/isdnlog.isdnctrl0.pid
    Print "done."
    ;;
  *)
    Usage "$0"
    exit 1
esac

exit 0
