]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fs-lib: install /etc/e2fsck.conf, if e2fsck is installed
authorHarald Hoyer <harald@redhat.com>
Wed, 2 Nov 2011 08:09:48 +0000 (09:09 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2011 08:38:30 +0000 (09:38 +0100)
modules.d/99fs-lib/module-setup.sh

index 68ea9b1048621698bf87b341062668f0d89dcc3e..8e14a4e5e11e10ad9f681d576e70635d69b4270a 100755 (executable)
@@ -28,5 +28,9 @@ install() {
         _helpers="$fscks"
     fi
 
+    if strstr "$_helpers" e2fsck && [ -e /etc/e2fsck.conf ]; then
+        inst_simple /etc/e2fsck.conf
+    fi
+
     dracut_install -o $_helpers
 }