btrfs: no need for btrfs_timeout in systemd mode

master
Harald Hoyer 2013-03-06 16:23:58 +01:00
parent e9020221a7
commit 24d009507f
1 changed files with 5 additions and 2 deletions

View File

@ -40,8 +40,11 @@ install() {
esac
fi

inst_script "$moddir/btrfs_timeout.sh" \
/usr/lib/dracut/hooks/initqueue/timeout/btrfs_timeout.sh
if ! dracut_module_included "systemd"; then
inst_script "$moddir/btrfs_timeout.sh" \
/usr/lib/dracut/hooks/initqueue/timeout/btrfs_timeout.sh
fi

dracut_install btrfsck
inst $(command -v btrfs) /sbin/btrfs
}