__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
#
# This kdump-tools hook includes kdump sysctl overrides to the
# kdump minimal initrd.
#
# OPTION=VAR is a control provided only by Ubuntu initramfs-tools,
# so this is innocuous and harmless on Debian - kept here for
# better code sync between Debian and Ubuntu.
# shellcheck disable=SC2034
OPTION=KDUMP
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
# In Debian we don't have the fine-tuned control of what hooks to run
# based on OPTION=VAR (like Ubuntu). So, we need the folowing check
# in order to prevent this hook to run for regular initrds - it should
# only be executed for kdump smaller initrd.
if [ "${CONFDIR}" != "/var/lib/kdump/initramfs-tools" ]; then
exit 0
fi
. /usr/share/initramfs-tools/hook-functions
KDUMP_SYSCTL_PATH="/etc/kdump/sysctl.conf"
# Avoid stopping the initrd generation in case of no sysctl overrides
if [ ! -f ${KDUMP_SYSCTL_PATH} ]; then
echo "WARNING: kdump-tools hook couldn't find ${KDUMP_SYSCTL_PATH}"
exit 0
fi
copy_file config ${KDUMP_SYSCTL_PATH}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| amd64_microcode | File | 3.77 KB | 0755 |
|
| brltty | File | 1.1 KB | 0755 |
|
| btrfs | File | 701 B | 0755 |
|
| console_setup | File | 3.07 KB | 0755 |
|
| dhcpcd | File | 1.3 KB | 0755 |
|
| dmsetup | File | 530 B | 0755 |
|
| fixrtc | File | 404 B | 0755 |
|
| framebuffer | File | 386 B | 0755 |
|
| fsck | File | 2.08 KB | 0755 |
|
| fuse | File | 239 B | 0755 |
|
| intel_microcode | File | 4.73 KB | 0755 |
|
| kbd | File | 301 B | 0755 |
|
| kdump-tools | File | 1.03 KB | 0755 |
|
| klibc-utils | File | 694 B | 0755 |
|
| kmod | File | 468 B | 0755 |
|
| ntfs_3g | File | 328 B | 0755 |
|
| plymouth | File | 6.04 KB | 0755 |
|
| resume | File | 3.19 KB | 0755 |
|
| thermal | File | 1.14 KB | 0755 |
|
| udev | File | 2.8 KB | 0755 |
|
| zz-busybox-initramfs | File | 2.18 KB | 0755 |
|