odhcpd.init 244 B

123456789101112131415161718
  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. service_triggers()
  12. {
  13. procd_add_reload_trigger "dhcp"
  14. }