mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
active-port sub-package added, which installs: * JSON datamodel plugin for ActivePort data model object * daemon that implements active-port ubus call
15 lines
233 B
Bash
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"
|
|
}
|