]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dm/install: install dmeventd, only if present
authorHarald Hoyer <harald@redhat.com>
Wed, 10 Nov 2010 14:00:01 +0000 (15:00 +0100)
committerHarald Hoyer <harald@redhat.com>
Wed, 10 Nov 2010 14:00:01 +0000 (15:00 +0100)
modules.d/90dm/install

index 28e53b3ac5066d0681dc9bcbcf14c84a0ed325b4..b2080e5bdea82ec357f4aaa9cd7b05d4385e33b0 100755 (executable)
@@ -7,5 +7,5 @@ modinfo -k $kernel dm_mod >/dev/null 2>&1 && \
 
 inst dmsetup
 
-inst dmeventd
+type -P dmeventd >/dev/null && dracut_install dmeventd
 inst_rules 10-dm.rules 95-dm-notify.rules