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 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
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. |
#!/bin/bash if [[ ! -x /sbin/new-kernel-pkg ]]; then exit 0 fi COMMAND="$1" KERNEL_VERSION="$2" BOOT_DIR_ABS="$3" KERNEL_IMAGE="$4" KERNEL_DIR="${KERNEL_IMAGE%/*}" [[ "$KERNEL_VERSION" == *\+* ]] && flavor=-"${KERNEL_VERSION##*+}" case "$COMMAND" in add) if [[ "${KERNEL_DIR}" != "/boot" ]]; then for i in \ "$KERNEL_IMAGE" \ "$KERNEL_DIR"/System.map \ "$KERNEL_DIR"/config \ "$KERNEL_DIR"/zImage.stub \ "$KERNEL_DIR"/dtb \ ; do [[ -e "$i" ]] || continue cp -aT "$i" "/boot/${i##*/}-${KERNEL_VERSION}" command -v restorecon &>/dev/null && \ restorecon -R "/boot/${i##*/}-${KERNEL_VERSION}" done # hmac is .vmlinuz-<version>.hmac so needs a special treatment i="$KERNEL_DIR/.${KERNEL_IMAGE##*/}.hmac" if [[ -e "$i" ]]; then cp -a "$i" "/boot/.${KERNEL_IMAGE##*/}-${KERNEL_VERSION}.hmac" command -v restorecon &>/dev/null && \ restorecon "/boot/.${KERNEL_IMAGE##*/}-${KERNEL_VERSION}.hmac" fi # symvers is symvers-<version>.gz so needs a special treatment i="$KERNEL_DIR/symvers.gz" if [[ -e "$i" ]]; then cp -a "$i" "/boot/symvers-${KERNEL_VERSION}.gz" command -v restorecon &>/dev/null && \ restorecon "/boot/symvers-${KERNEL_VERSION}.gz" fi fi /sbin/new-kernel-pkg --package "kernel${flavor}" --install "$KERNEL_VERSION" || exit $? /sbin/new-kernel-pkg --package "kernel${flavor}" --mkinitrd --dracut --depmod --update "$KERNEL_VERSION" || exit $? /sbin/new-kernel-pkg --package "kernel${flavor}" --rpmposttrans "$KERNEL_VERSION" || exit $? ;; remove) /sbin/new-kernel-pkg --package "kernel${flavor+-$flavor}" --rminitrd --rmmoddep --remove "$KERNEL_VERSION" || exit $? ;; *) ;; esac # skip other installation plugins, if we can't find a boot loader spec conforming setup if ! [[ -d /boot/loader/entries || -L /boot/loader/entries ]]; then exit 77 fi
SILENT KILLER Tool