#!/bin/sh /etc/rc.common

START=60
STOP=10

USE_PROCD=1
PROG=/usr/sbin/tr104d

log() {
	echo "${@}"|logger -t bbfdmd.init -p info
}


start_service()
{
	procd_open_instance "tr104d"

	procd_set_param command ${PROG}
	procd_append_param command -m "/etc/tr104/input.json"

	procd_set_param stdout 1
	procd_set_param stderr 1

	procd_set_param respawn
	procd_close_instance
}
