1
0

odhcpd.init 292 B

12345678910111213141516171819202122
  1. #!/bin/sh /etc/rc.common
  2. START=35
  3. STOP=85
  4. USE_PROCD=1
  5. start_service() {
  6. procd_open_instance
  7. procd_set_param command /usr/sbin/odhcpd
  8. procd_set_param respawn
  9. procd_close_instance
  10. }
  11. reload_service() {
  12. procd_send_signal odhcpd
  13. }
  14. service_triggers()
  15. {
  16. procd_add_reload_trigger "dhcp"
  17. }