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
436 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2010-2012 OpenWrt.org
  3. START=80
  4. STOP=10
  5. USE_PROCD=1
  6. start_service() {
  7. mkdir -p /var/netatalk/CNID/
  8. procd_open_instance
  9. procd_set_param command /usr/sbin/afpd -d -F /etc/afp.conf
  10. procd_set_param file /etc/afp.conf
  11. procd_set_param respawn
  12. procd_close_instance
  13. procd_open_instance
  14. procd_set_param command /usr/sbin/cnid_metad -d
  15. procd_set_param respawn
  16. procd_close_instance
  17. }