rpcd.init 249 B

123456789101112131415161718192021
  1. #!/bin/sh /etc/rc.common
  2. START=12
  3. USE_PROCD=1
  4. NAME=rpcd
  5. PROG=/sbin/rpcd
  6. start_service() {
  7. procd_open_instance
  8. procd_set_param command "$PROG"
  9. procd_close_instance
  10. }
  11. stop() {
  12. service_stop /sbin/rpcd
  13. }
  14. reload() {
  15. service_reload /sbin/rpcd
  16. }