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