summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-18 07:37:57 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-10-18 07:37:57 +0000
commit5509285c747f475b87af1f7ef3481969f9895f58 (patch)
treec2fe90bb55ffe6766b1d65039050638ebc48fb8a /net-fs/netatalk/files
parentBump live versions to eapi4. (diff)
downloadgentoo-2-5509285c747f475b87af1f7ef3481969f9895f58.tar.gz
gentoo-2-5509285c747f475b87af1f7ef3481969f9895f58.tar.bz2
gentoo-2-5509285c747f475b87af1f7ef3481969f9895f58.zip
Revbump with more OpenRC-style init scripts.
(Portage version: 2.2.0_alpha68/cvs/Linux x86_64)
Diffstat (limited to 'net-fs/netatalk/files')
-rw-r--r--net-fs/netatalk/files/afpd.init.221
-rw-r--r--net-fs/netatalk/files/atalk_service.init.211
-rw-r--r--net-fs/netatalk/files/cnid_metad.init.215
3 files changed, 47 insertions, 0 deletions
diff --git a/net-fs/netatalk/files/afpd.init.2 b/net-fs/netatalk/files/afpd.init.2
new file mode 100644
index 000000000000..222802593397
--- /dev/null
+++ b/net-fs/netatalk/files/afpd.init.2
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $
+
+command="/usr/sbin/${SVCNAME}"
+command_args="${EXTRA_CONF}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ need net cnid_metad
+ use logger dns atalkd
+
+ config /etc/netatalk/afpd.conf
+
+ sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \
+ && need atalkd
+
+ need avahi-daemon
+ need slpd
+}
diff --git a/net-fs/netatalk/files/atalk_service.init.2 b/net-fs/netatalk/files/atalk_service.init.2
new file mode 100644
index 000000000000..74d986548da9
--- /dev/null
+++ b/net-fs/netatalk/files/atalk_service.init.2
@@ -0,0 +1,11 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/atalk_service.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $
+
+command="/usr/sbin/${SVCNAME}"
+
+depend() {
+ need net atalkd
+ use logger dns
+}
diff --git a/net-fs/netatalk/files/cnid_metad.init.2 b/net-fs/netatalk/files/cnid_metad.init.2
new file mode 100644
index 000000000000..4268025825a4
--- /dev/null
+++ b/net-fs/netatalk/files/cnid_metad.init.2
@@ -0,0 +1,15 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/cnid_metad.init.2,v 1.1 2011/10/18 07:37:57 flameeyes Exp $
+
+: ${CNID_CONFIG:=-l log_note}
+
+command="/usr/sbin/${SVCNAME}"
+command_args="${CNID_CONFIG}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ need net
+ use logger
+}