projects
/
openwrt
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
musl: update to 1.1.12 + git from 2016-01-22
[openwrt/.git]
/
package
/
system
/
rpcd
/
files
/
rpcd.init
diff --git
a/package/system/rpcd/files/rpcd.init
b/package/system/rpcd/files/rpcd.init
index 2b8f04f848502498e17471dc5470f7c19340d373..98b633365b8147384c27e18dbaf9750805ca99d2 100755
(executable)
--- a/
package/system/rpcd/files/rpcd.init
+++ b/
package/system/rpcd/files/rpcd.init
@@
-2,13
+2,20
@@
START=12
START=12
-SERVICE_DAEMONIZE=1
-SERVICE_WRITE_PID=1
+USE_PROCD=1
+NAME=rpcd
+PROG=/sbin/rpcd
-start() {
- service_start /sbin/rpcd
+start_service() {
+ procd_open_instance
+ procd_set_param command "$PROG"
+ procd_close_instance
}
stop() {
service_stop /sbin/rpcd
}
}
stop() {
service_stop /sbin/rpcd
}
+
+reload() {
+ service_reload /sbin/rpcd
+}