1234567891011121314151617181920212223 |
- #!/bin/sh /etc/rc.common
- # Copyright (C) 2010-2012 OpenWrt.org
- START=80
- STOP=10
- USE_PROCD=1
- start_service() {
- mkdir -p /var/netatalk/CNID/
- procd_open_instance
- procd_set_param command /usr/sbin/afpd -d -F /etc/afp.conf
- procd_set_param file /etc/afp.conf
- procd_set_param respawn
- procd_close_instance
- procd_open_instance
- procd_set_param command /usr/sbin/cnid_metad -d
- procd_set_param respawn
- procd_close_instance
- }
|