]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
bcache: removed, it's in the upstream bcache-tools package
authorHarald Hoyer <harald@redhat.com>
Fri, 4 Oct 2013 08:43:02 +0000 (10:43 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 4 Oct 2013 08:43:02 +0000 (10:43 +0200)
modules.d/90bcache/module-setup.sh [deleted file]

diff --git a/modules.d/90bcache/module-setup.sh b/modules.d/90bcache/module-setup.sh
deleted file mode 100755 (executable)
index b02b8b4..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
-# ex: ts=8 sw=4 sts=4 et filetype=sh
-
-check() {
-    if ! blkid -k | { while read line; do [[ $line == bcache ]] && exit 0; done; exit 1; } \
-        && ! type -P probe-bcache >/dev/null; then
-        return 1
-    fi
-
-    [[ $hostonly ]] || [[ $mount_needs ]] && {
-        for fs in "${host_fs_types[@]}"; do
-            [[ $fs = "bcache" ]] && return 0
-        done
-        return 255
-    }
-
-    return 0
-}
-
-depends() {
-    return 0
-}
-
-installkernel() {
-    instmods bcache
-}
-
-install() {
-    blkid -k | { while read line; do [[ $line == bcache ]] && exit 0; done; exit 1; } || inst_multiple probe-bcache
-    inst_multiple ${udevdir}/bcache-register
-    inst_rules 61-bcache.rules
-}