aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/rpcd')
-rwxr-xr-xpackage/system/rpcd/files/rpcd.init11
1 files changed, 7 insertions, 4 deletions
diff --git a/package/system/rpcd/files/rpcd.init b/package/system/rpcd/files/rpcd.init
index 2132f16fd3..98b633365b 100755
--- a/package/system/rpcd/files/rpcd.init
+++ b/package/system/rpcd/files/rpcd.init
@@ -2,11 +2,14 @@
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() {