18971c
From a5659901e87ef70b3cf8ea8b254e3d0f9fa88d96 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Wed, 9 Oct 2013 09:50:15 +0200
18971c
Subject: [PATCH] bcache: optionally install the tools and rules
18971c
18971c
---
18971c
 modules.d/90bcache/module-setup.sh | 6 +++---
18971c
 1 file changed, 3 insertions(+), 3 deletions(-)
18971c
18971c
diff --git a/modules.d/90bcache/module-setup.sh b/modules.d/90bcache/module-setup.sh
18971c
index b02b8b4e..a5a57edb 100755
18971c
--- a/modules.d/90bcache/module-setup.sh
18971c
+++ b/modules.d/90bcache/module-setup.sh
18971c
@@ -27,7 +27,7 @@ installkernel() {
18971c
 }
18971c
 
18971c
 install() {
18971c
-    blkid -k | { while read line; do [[ $line == bcache ]] && exit 0; done; exit 1; } || inst_multiple probe-bcache
18971c
-    inst_multiple ${udevdir}/bcache-register
18971c
-    inst_rules 61-bcache.rules
18971c
+    blkid -k | { while read line; do [[ $line == bcache ]] && exit 0; done; exit 1; } || inst_multiple -o probe-bcache
18971c
+    inst_multiple -o ${udevdir}/bcache-register
18971c
+    inst_rules 61-bcache.rules 69-bcache.rules
18971c
 }