mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-06 11:09:31 +00:00
22 lines
249 B
Bash
Executable File
22 lines
249 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
|
|
START=12
|
|
|
|
USE_PROCD=1
|
|
NAME=rpcd
|
|
PROG=/sbin/rpcd
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command "$PROG"
|
|
procd_close_instance
|
|
}
|
|
|
|
stop() {
|
|
service_stop /sbin/rpcd
|
|
}
|
|
|
|
reload() {
|
|
service_reload /sbin/rpcd
|
|
}
|