aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/rpcd/files/rpcd.init
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-09-02 15:36:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-09-02 15:36:51 +0000
commita6b26d9aead9f0142353a48f0ce154fc46d47fab (patch)
treeef638473337a76bd468078a65accbc1113fb089e /package/system/rpcd/files/rpcd.init
parent1f007eeca1067e5333d29ec8b3b05912203a8fb2 (diff)
downloadupstream-a6b26d9aead9f0142353a48f0ce154fc46d47fab.tar.gz
upstream-a6b26d9aead9f0142353a48f0ce154fc46d47fab.tar.bz2
upstream-a6b26d9aead9f0142353a48f0ce154fc46d47fab.zip
Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
SVN-Revision: 37877
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
+}