saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
21
init.d/multipathd
Executable file
21
init.d/multipathd
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2006 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.5 2009/03/17 22:48:13 solar Exp $
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
after modules
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting multipathd"
|
||||
start-stop-daemon --start --quiet --exec /sbin/multipathd
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping multipathd"
|
||||
start-stop-daemon --stop --quiet --pidfile /var/run/multipathd.pid
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user