summaryrefslogtreecommitdiff
path: root/package/system/rpcd/files/rpcd.init
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-02 15:36:51 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-09-02 15:36:51 +0000
commit6ad56bf49c675cfd2c2f4b7a99aca3a256b4d31c (patch)
tree4dc010ec1d13501bff1a71c114f0925e8740d572 /package/system/rpcd/files/rpcd.init
parentad2b7bfcc253cb137d69e4986e4c3e227cd7de55 (diff)
Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37877 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
+}