qosmngr: remove bbfdm_add_service call from init script

This commit is contained in:
Mohd Husaam Mehdi 2024-04-05 17:22:25 +05:30
parent 60f2fdd7cb
commit 822f5624b1

View file

@ -9,18 +9,13 @@ STOP=10
USE_PROCD=1 USE_PROCD=1
NAME=qosmngr NAME=qosmngr
PROG=/usr/sbin/qosmngr PROG=/usr/sbin/qosmngr
QOSMNGR_JSON_INPUT="/etc/qos_bbf/input.json"
. /lib/functions.sh . /lib/functions.sh
. /lib/qos/qos.sh . /lib/qos/qos.sh
. /etc/bbfdm/bbfdm_services.sh
start_service() { start_service() {
if [ -f "/etc/config/qos" ]; then if [ -f "/etc/config/qos" ]; then
bbfdm_add_service "bbfdm.qosmngr" "${QOSMNGR_JSON_INPUT}"
reload_qos reload_qos
procd_open_instance qosmngr procd_open_instance qosmngr
procd_set_param command ${PROG} procd_set_param command ${PROG}