From: Harald Hoyer Date: Mon, 7 Oct 2013 13:06:50 +0000 (+0200) Subject: btrfs: use inst_hook to install the timeout hook X-Git-Tag: 034~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50f5bbbbaf0a194063c549743a4c7401317a9dcc;p=thirdparty%2Fdracut.git btrfs: use inst_hook to install the timeout hook --- diff --git a/modules.d/90btrfs/module-setup.sh b/modules.d/90btrfs/module-setup.sh index 638a0505b..a28059462 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