Created
May 12, 2017 20:39
-
-
Save arthurp/a664c925d05b5493bd1d543e12a5d3d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PREREQ="lvm2" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} | |
case $1 in | |
prereqs) | |
prereqs | |
exit 0 | |
;; | |
esac | |
if [ ! -x /usr/sbin/cache_check ]; then | |
exit 0 | |
fi | |
. /usr/share/initramfs-tools/hook-functions | |
copy_exec /usr/sbin/cache_check | |
manual_add_modules dm_cache dm_cache_mq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment