X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=distrib%2Finitscripts%2Frc.gentoo.tmpl;h=b8f64606e57121c9fd569d634e15576e2a47e5c9;hp=c66e1e95d4f3bb527aa299ab46c6edc9687c2e64;hb=63d9e35e1acad06a03078fbc44a74594214b7e15;hpb=321a0107c48da7b3fbf895a2b32244174c1ff39c diff --git a/distrib/initscripts/rc.gentoo.tmpl b/distrib/initscripts/rc.gentoo.tmpl index c66e1e95..b8f64606 100644 --- a/distrib/initscripts/rc.gentoo.tmpl +++ b/distrib/initscripts/rc.gentoo.tmpl @@ -1,24 +1,14 @@ #!/sbin/runscript - +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# # Netatalk :NETATALK_VERSION: daemons. -depend() { - need net - use logger dns -} - -netatalk_startup () { - ebegin "Starting netatalk" - start-stop-daemon --start --quiet --exec :SBINDIR:/netatalk - eend $? -} - -start () { - netatalk_startup -} +command=":SBINDIR:/${SVCNAME}" -stop () { - ebegin "Stopping netatalk" - start-stop-daemon --stop --quiet --exec :SBINDIR:/netatalk - eend $? +depend() { + need net + use avahi-daemon + use logger dns + after entropy }