procd: convert various packages to procd style init.d scripts
[openwrt/svn-archive/archive.git] / package / system / rpcd / files / rpcd.init
1 #!/bin/sh /etc/rc.common
2
3 START=12
4
5 USE_PROCD=1
6 NAME=rpcd
7 PROG=/sbin/rpcd
8
9 start_service() {
10 procd_open_instance
11 procd_set_param command "$PROG"
12 procd_close_instance
13 }
14
15 stop() {
16 service_stop /sbin/rpcd
17 }
18
19 reload() {
20 service_reload /sbin/rpcd
21 }