You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
375 B

  1. #!/bin/sh /etc/rc.common
  2. #
  3. # Copyright (C) 2014 OpenWrt.org
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. START=30
  9. STOP=85
  10. USE_PROCD=1
  11. start_service()
  12. {
  13. procd_open_instance
  14. procd_set_param command /sbin/dhcpcd -B
  15. procd_set_param respawn
  16. procd_close_instance
  17. }
  18. reload_service()
  19. {
  20. /sbin/dhcpcd -n
  21. }