florian d43b9f5f22 [package] remove kmod-appletalk dependency, change description, and make init script executable (#6619)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:33:01 +00:00

26 lines
306 B
Bash

#!/bin/sh /etc/rc.common
START=70
MAXCONS="7"
CONFIGFILE="/etc/netatalk/afpd.conf"
PIDFILE="/var/run/afpd.pid"
start()
{
/usr/sbin/cnid_metad
/usr/sbin/afpd -F ${CONFIGFILE} -P ${PIDFILE} -c ${MAXCONS}
}
stop()
{
killall afpd
killall cnid_metad
}
reload()
{
kill -s HUP `cat ${PIDFILE}`
start
}