2013-09-02 23:36:51 +08:00
|
|
|
#!/bin/sh /etc/rc.common
|
|
|
|
|
|
|
|
START=12
|
|
|
|
|
2013-09-18 05:45:30 +08:00
|
|
|
USE_PROCD=1
|
|
|
|
NAME=rpcd
|
|
|
|
PROG=/sbin/rpcd
|
2013-09-02 23:36:51 +08:00
|
|
|
|
2013-09-18 05:45:30 +08:00
|
|
|
start_service() {
|
|
|
|
procd_open_instance
|
|
|
|
procd_set_param command "$PROG"
|
|
|
|
procd_close_instance
|
2013-09-02 23:36:51 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
stop() {
|
|
|
|
service_stop /sbin/rpcd
|
|
|
|
}
|
2013-09-09 22:35:15 +08:00
|
|
|
|
|
|
|
reload() {
|
|
|
|
service_reload /sbin/rpcd
|
|
|
|
}
|