summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2005-02-21 15:03:24 +0000
committerMartin Schlemmer <azarah@gentoo.org>2005-02-21 15:03:24 +0000
commit6fede9e8e9b1f9606d879384b2480650aeda6c81 (patch)
treeab86b1d5830d42ef7b06e7ef6353678a1623819f /sys-fs/multipath-tools/files/rc-multipathd
parentadd ~ia64 (Manifest recommit) (diff)
downloadgentoo-2-6fede9e8e9b1f9606d879384b2480650aeda6c81.tar.gz
gentoo-2-6fede9e8e9b1f9606d879384b2480650aeda6c81.tar.bz2
gentoo-2-6fede9e8e9b1f9606d879384b2480650aeda6c81.zip
Initial version. Ebuild and scripts by Seemant.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-fs/multipath-tools/files/rc-multipathd')
-rw-r--r--sys-fs/multipath-tools/files/rc-multipathd20
1 files changed, 20 insertions, 0 deletions
diff --git a/sys-fs/multipath-tools/files/rc-multipathd b/sys-fs/multipath-tools/files/rc-multipathd
new file mode 100644
index 000000000000..ef4ee2f63140
--- /dev/null
+++ b/sys-fs/multipath-tools/files/rc-multipathd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/files/rc-multipathd,v 1.1 2005/02/21 15:03:24 azarah Exp $
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting multipathd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/multipathd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping multipathd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/multipathd
+ eend $?
+}