aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd/files/rpcd.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/system/rpcd/files/rpcd.init')
-rwxr-xr-xpackage/system/rpcd/files/rpcd.init14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/system/rpcd/files/rpcd.init b/package/system/rpcd/files/rpcd.init
new file mode 100755
index 0000000000..2b8f04f848
--- /dev/null
+++ b/package/system/rpcd/files/rpcd.init
@@ -0,0 +1,14 @@
+#!/bin/sh /etc/rc.common
+
+START=12
+
+SERVICE_DAEMONIZE=1
+SERVICE_WRITE_PID=1
+
+start() {
+ service_start /sbin/rpcd
+}
+
+stop() {
+ service_stop /sbin/rpcd
+}