diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-02 15:36:51 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-09-02 15:36:51 +0000 |
commit | 6ad56bf49c675cfd2c2f4b7a99aca3a256b4d31c (patch) | |
tree | 4dc010ec1d13501bff1a71c114f0925e8740d572 /package/system/rpcd/files/rpcd.init | |
parent | ad2b7bfcc253cb137d69e4986e4c3e227cd7de55 (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-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 +} |