aboutsummaryrefslogtreecommitdiffstats
path: root/package/netatalk/S50netatalk
diff options
context:
space:
mode:
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>2012-10-01 06:23:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-10-08 15:47:55 +0200
commitcd4bce0ba65a37633145a07427de61a569a99399 (patch)
tree6b9c7b4002912677d6dd62c2cce3c224256f6a2e /package/netatalk/S50netatalk
parenta22e9342405de96e1f230f862bb840549cb111ea (diff)
downloadbuildroot-novena-cd4bce0ba65a37633145a07427de61a569a99399.tar.gz
buildroot-novena-cd4bce0ba65a37633145a07427de61a569a99399.zip
netatalk: bump version
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>
Diffstat (limited to 'package/netatalk/S50netatalk')
-rwxr-xr-xpackage/netatalk/S50netatalk32
1 files changed, 11 insertions, 21 deletions
diff --git a/package/netatalk/S50netatalk b/package/netatalk/S50netatalk
index 94bb161ae..f10917496 100755
--- a/package/netatalk/S50netatalk
+++ b/package/netatalk/S50netatalk
@@ -1,40 +1,30 @@
-#!/bin/sh
-#
-# Start netatalk daemon (aftpd && cnid_metad)
+#!/bin/sh
+#
+# Start netatalk
#
-
-AFPD_UAMLIST="-U uams_dhx2.so,uams_clrtxt.so"
start() {
- echo -n "Starting Netatalk services (this will take a while): "
- echo "Starting afpd"
- echo -n " afpd"
- start-stop-daemon -S -q -p /var/run/afpd.pid --exec /usr/sbin/afpd -- $AFPD_UAMLIST -g nobody -c 50
- echo -n " cnid_metad"
- start-stop-daemon -S -q -p /var/run/cnid_metad.pid --exec /usr/sbin/cnid_metad -- -l log_note
- echo "."
+ echo "Starting Netatalk"
+ start-stop-daemon -S -q -p /var/run/netatalk.pid --exec /usr/sbin/netatalk
}
stop(){
- echo -n "Stopping Netatalk Daemons:"
- echo -n " afpd"
- start-stop-daemon -K -q -p /var/run/afpd.pid
- echo -n " cnid_metad"
- start-stop-daemon -K -q -p /var/run/cnid_metad.pid
+ 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