Blame SOURCES/0021-btrfs-use-inst_hook-to-install-the-timeout-hook.patch

18971c
From 6ea78f9f4eb405e6743e8be67836f9134d11e77b Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Mon, 7 Oct 2013 15:06:50 +0200
18971c
Subject: [PATCH] btrfs: use inst_hook to install the timeout hook
18971c
18971c
---
18971c
 modules.d/90btrfs/module-setup.sh | 3 +--
18971c
 1 file changed, 1 insertion(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh
18971c
index 638a0505..a2805946 100755
18971c
--- a/modules.d/90btrfs/module-setup.sh
18971c
+++ b/modules.d/90btrfs/module-setup.sh
18971c
@@ -39,8 +39,7 @@ install() {
18971c
     fi
18971c
 
18971c
     if ! dracut_module_included "systemd"; then
18971c
-        inst_script "$moddir/btrfs_timeout.sh" \
18971c
-            /usr/lib/dracut/hooks/initqueue/timeout/btrfs_timeout.sh
18971c
+        inst_hook initqueue/timeout 10 "$moddir/btrfs_timeout.sh"
18971c
     fi
18971c
 
18971c
     inst_multiple -o btrfsck btrfs-zero-log