]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
btrfs: use inst_hook to install the timeout hook
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Oct 2013 13:06:50 +0000 (15:06 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Oct 2013 15:25:58 +0000 (17:25 +0200)
modules.d/90btrfs/module-setup.sh

index 638a0505b4725776a1ea05af6090d0823ebc8d01..a2805946230e103cb9356ba412c2de32a880cb43 100755 (executable)
@@ -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