liblo: moved to github
[openwrt.org/packages.git] / net / afpd.init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh /etc/rc.common
# Copyright (C) 2010-2012 OpenWrt.org

START=70

MAXCONS="7"

start()
{
	service_start /usr/sbin/cnid_metad
	service_start /usr/sbin/afpd -c ${MAXCONS}
}

stop()
{
	service_stop /usr/sbin/afpd
	service_stop /usr/sbin/cnid_metad
}

reload()
{
	service_reload /usr/sbin/afpd
}

comments