iopsys-feed/bbfdm/files/etc/init.d/active-port
Mohd Mehdi 947fe9ef99
bbfdm: add support for Device.IP.ActivePort
active-port sub-package added, which installs:

* JSON datamodel plugin for ActivePort data model object
* daemon that implements active-port ubus call
2024-07-16 14:10:37 +00:00

15 lines
233 B
Bash

#!/bin/sh /etc/rc.common
START=64
STOP=10
USE_PROCD=1
PROG=/usr/sbin/active-port
start_service()
{
procd_open_instance "active-port"
procd_set_param command ${PROG}
procd_set_param respawn
procd_close_instance "active-port"
}