aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd/files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-06-06 11:27:11 +0200
committerJo-Philipp Wich <jo@mein.io>2019-06-06 11:27:11 +0200
commitf664d560df8e59f8d368273990462bba85a09668 (patch)
treeb4887b22e13fc0199bc2d72a6dac51bda234447d /package/system/rpcd/files
parent7c50182e0cdce0366715082872a2afbcf208bbf8 (diff)
downloadupstream-f664d560df8e59f8d368273990462bba85a09668.tar.gz
upstream-f664d560df8e59f8d368273990462bba85a09668.tar.bz2
upstream-f664d560df8e59f8d368273990462bba85a09668.zip
rpcd: fix init script reload action
Drop the legacy start() and stop() procedures and define a proper reload signal action instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/system/rpcd/files')
-rwxr-xr-xpackage/system/rpcd/files/rpcd.init7
1 files changed, 2 insertions, 5 deletions
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
-}