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.

23 lines
300 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2010-2012 OpenWrt.org
  3. START=70
  4. MAXCONS="7"
  5. start()
  6. {
  7. service_start /usr/sbin/cnid_metad
  8. service_start /usr/sbin/afpd -c ${MAXCONS}
  9. }
  10. stop()
  11. {
  12. service_stop /usr/sbin/afpd
  13. service_stop /usr/sbin/cnid_metad
  14. }
  15. reload()
  16. {
  17. service_reload /usr/sbin/afpd
  18. }