cd4bce0ba6
Netatalk goes to version 3.0. The startup script has changed too, there is now only one binary called netatalk. No more afpd, cnid, ... at startup ! They are executed by netatalk. All the config is done within /etc/afp.conf, look at : http://netatalk.sourceforge.net/3.0/htmldocs/upgrade.html for more info about the upgrade process. [Peter: added --without-kerberos to disable kerberos detection] Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
34 lines
452 B
Bash
Executable File
34 lines
452 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Start netatalk
|
|
#
|
|
|
|
start() {
|
|
echo "Starting Netatalk"
|
|
start-stop-daemon -S -q -p /var/run/netatalk.pid --exec /usr/sbin/netatalk
|
|
}
|
|
|
|
stop(){
|
|
echo "Stopping Netatalk"
|
|
start-stop-daemon -K -q -p /var/run/netatalk.pid
|
|
}
|
|
|
|
case "$1" in
|
|
start)
|
|
start
|
|
;;
|
|
stop)
|
|
stop
|
|
;;
|
|
restart)
|
|
start
|
|
stop
|
|
;;
|
|
*)
|
|
echo $"Usage: $0 {start|stop|restart}"
|
|
exit 1
|
|
esac
|
|
|
|
exit $?
|
|
|