aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/system/rpcd/Makefile2
-rwxr-xr-xpackage/system/rpcd/files/rpcd.init7
2 files changed, 3 insertions, 6 deletions
diff --git a/package/system/rpcd/Makefile b/package/system/rpcd/Makefile
index 5c9b98f984..00598917fd 100644
--- a/package/system/rpcd/Makefile
+++ b/package/system/rpcd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=rpcd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/rpcd.git
diff --git a/package/system/rpcd/files/rpcd.init b/package/system/rpcd/files/rpcd.init
index 0a37ee19f9..4a31aa0d00 100755
--- a/package/system/rpcd/files/rpcd.init
+++ b/package/system/rpcd/files/rpcd.init
@@ -15,10 +15,7 @@ start_service() {
procd_close_instance
}
-stop() {
- service_stop /sbin/rpcd
+reload_service() {
+ procd_send_signal rpcd
}
-reload() {
- service_reload /sbin/rpcd
-}