diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-02 15:36:51 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2013-09-02 15:36:51 +0000 |
commit | 92f58fd13c736f00a9e84a9145a26e110acca898 (patch) | |
tree | 4dc010ec1d13501bff1a71c114f0925e8740d572 /package/system/rpcd/files | |
parent | a569b25aa5bb0841bae32f11074c038a0ecacd16 (diff) | |
download | upstream-92f58fd13c736f00a9e84a9145a26e110acca898.tar.gz upstream-92f58fd13c736f00a9e84a9145a26e110acca898.tar.bz2 upstream-92f58fd13c736f00a9e84a9145a26e110acca898.zip |
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')
-rwxr-xr-x | package/system/rpcd/files/rpcd.init | 14 |
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 +} |