btrfs: use inst_hook to install the timeout hook

master
Harald Hoyer 2013-10-07 15:06:50 +02:00
parent c4c1c4f456
commit 50f5bbbbaf
1 changed files with 1 additions and 2 deletions

View File

@ -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