#!/sbin/runscript # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/files/dmeventd.initd-2.02.67-r1,v 1.1 2010/06/09 22:41:45 robbat2 Exp $ depend() { # As of .67-r1, we call ALL lvm start/stop scripts with --sysinit, that # means dmeventd is NOT notified, as it cannot be safely running after lvm device-mapper } start() { ebegin "Starting dmeventd" start-stop-daemon --start --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid eend $? } stop() { ebegin "Stopping dmeventd" start-stop-daemon --stop --exec /sbin/dmeventd --pidfile /var/run/dmeventd.pid eend $? }