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

#!/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
}