mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
15 lines
220 B
Plaintext
15 lines
220 B
Plaintext
|
#!/bin/sh /etc/rc.common
|
||
|
# Copyright (c) 2021 OpenWrt.org
|
||
|
|
||
|
START=50
|
||
|
|
||
|
USE_PROCD=1
|
||
|
PROG=/sbin/ustpd
|
||
|
|
||
|
start_service() {
|
||
|
procd_open_instance
|
||
|
procd_set_param command "$PROG"
|
||
|
procd_set_param respawn
|
||
|
procd_close_instance
|
||
|
}
|