#! /bin/sh

. "`dirname $0`/rcdefs"

case "$1" in
  start)
    Print -n "Starting ISDN accounting... "
    ${BIN_FWSETUP} -A both -a -bn -S 0.0.0.0/0 -D ${ISDN_ACCT_DST}
    Print "done."
    ;;
  stop)
    Print -n "Stopping ISDN accounting... "
    ${BIN_FWSETUP} -A both -d -bn -S 0.0.0.0/0 -D ${ISDN_ACCT_DST}
    Print "done."
    ;;
  *)
    Usage "$0"
    exit 1
esac

exit 0
