SILENT KILLERPanel

Current Path: > > > lib > kernel > install.d


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: ///lib/kernel/install.d

NameTypeSizeLast ModifiedActions
20-grub.install File 7954 bytes April 22 2024 16:52:44.
20-grubby.install File 2252 bytes April 22 2025 01:58:47.
50-depmod.install File 368 bytes June 22 2018 11:11:49.
50-dracut.install File 1657 bytes July 15 2025 09:09:28.
51-dracut-rescue.install File 3700 bytes July 15 2025 09:09:28.
60-kdump.install File 791 bytes September 24 2024 08:36:00.
90-loaderentry.install File 1975 bytes April 22 2025 01:57:53.
92-tuned.install File 1400 bytes February 22 2024 12:23:28.
99-grub-mkconfig.install File 459 bytes April 22 2024 16:52:44.

Reading File: ///lib/kernel/install.d/60-kdump.install

#!/usr/bin/bash

COMMAND="$1"
KERNEL_VERSION="$2"
KDUMP_INITRD_DIR_ABS="$3"
KERNEL_IMAGE="$4"

if ! [[ ${KERNEL_INSTALL_MACHINE_ID-x} ]]; then
    exit 0
fi

if [[ -d "$KDUMP_INITRD_DIR_ABS" ]]; then
    KDUMP_INITRD="initrdkdump"
else
    # If `KDUMP_BOOTDIR` is not writable, then the kdump
    # initrd must have been placed at `/var/lib/kdump`
    if [[ ! -w "/boot" ]]; then
        KDUMP_INITRD_DIR_ABS="/var/lib/kdump"
    else
        KDUMP_INITRD_DIR_ABS="/boot"
    fi
    KDUMP_INITRD="initramfs-${KERNEL_VERSION}kdump.img"
fi

ret=0
case "$COMMAND" in
    add)
        # Do nothing, kdump initramfs is strictly host only
        # and managed by kdump service
        ;;
    remove)
        rm -f -- "$KDUMP_INITRD_DIR_ABS/$KDUMP_INITRD"
        ret=$?
        ;;
esac
exit $ret

SILENT KILLER Tool