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.

19 lines
336 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2009-2010 OpenWrt.org
  3. START=99
  4. STOP=80
  5. USE_PROCD=1
  6. start_service() {
  7. procd_open_instance
  8. procd_set_param command "/usr/sbin/acpid"
  9. procd_append_param command -f
  10. procd_append_param command -S
  11. procd_set_param pidfile "/var/run/acpid.pid"
  12. }
  13. reload_service() {
  14. procd_send_signal "acpid"
  15. }