e58ba6b82b
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29073 3c298f89-4303-0410-b956-a3cf2f4a3e73
24 lines
300 B
Bash
24 lines
300 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2010-2011 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_relaod /usr/sbin/afpd
|
|
}
|