projects
/
openwrt
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
447133c67a5a639e665fccf8b66efa703760c948
[openwrt/.git]
/
package
/
system
/
rpcd
/
files
/
rpcd.init
1
#!/bin/sh /etc/rc.common
2
3
START=12
4
5
USE_PROCD=1
6
NAME=rpcd
7
PROG=/sbin/rpcd
8
9
start_service() {
10
local socket=$(uci -q get rpcd.@rpcd[0].socket)
11
local timeout=$(uci -q get rpcd.@rpcd[0].timeout)
12
13
procd_open_instance
14
procd_set_param command "$PROG" ${socket:+-s "$socket"} ${timeout:+-t "$timeout"}
15
procd_close_instance
16
}
17
18
reload_service() {
19
procd_send_signal rpcd
20
}