summarylogtreecommitdiffstats
path: root/zfs.install
diff options
context:
space:
mode:
Diffstat (limited to 'zfs.install')
-rw-r--r--zfs.install14
1 files changed, 0 insertions, 14 deletions
diff --git a/zfs.install b/zfs.install
index 0b653ab47b2d..c2a2d7807e6d 100644
--- a/zfs.install
+++ b/zfs.install
@@ -1,18 +1,4 @@
-post_install() {
- check_initramfs
-}
-
post_remove() {
- check_initramfs 'remove'
-}
-
-post_upgrade() {
- check_initramfs
-}
-
-check_initramfs() {
- echo ">>> Updating ZFS module dependencies"
- depmod -a 4.18.5-arch1-1-ARCH
MK_CONF=$(grep -v '#' /etc/mkinitcpio.conf | grep zfs >/dev/null; echo $?);
if [[ ${MK_CONF} == '0' && $1 == 'remove' ]]; then
echo '>>> The ZFS packages have been removed, but "zfs" remains in the "hooks"'