Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.224.33.135
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
kernel /
install.d /
Delete
Unzip
Name
Size
Permission
Date
Action
20-grub.install
7.77
KB
-rwxr-xr-x
2024-04-22 16:52
20-grubby.install
2.2
KB
-rwxr-xr-x
2025-04-22 01:58
50-depmod.install
368
B
-rwxr-xr-x
2018-06-22 11:11
50-dracut.install
1.62
KB
-rwxr-xr-x
2024-04-06 13:22
51-dracut-rescue.install
3.26
KB
-rwxr-xr-x
2024-04-06 13:22
60-kdump.install
791
B
-rwxr-xr-x
2024-09-24 08:36
90-loaderentry.install
1.93
KB
-rwxr-xr-x
2025-04-22 01:57
92-tuned.install
1.37
KB
-rwxr-xr-x
2024-02-22 12:23
99-grub-mkconfig.install
459
B
-rwxr-xr-x
2024-04-22 16:52
Save
Rename
#!/bin/bash COMMAND="$1" KERNEL_VERSION="$2" BOOT_DIR_ABS="$3" KERNEL_IMAGE="$4" if ! [[ $KERNEL_INSTALL_MACHINE_ID ]]; then exit 0 fi MACHINE_ID=$KERNEL_INSTALL_MACHINE_ID # with grub2 always /boot BOOT_ROOT="/boot" LOADER_ENTRIES="$BOOT_ROOT/loader/entries" [ -d "$LOADER_ENTRIES" ] || exit 0 [ "$COMMAND" = "add" ] || exit 0 ARCH=`uname -m` pushd "$LOADER_ENTRIES" &> /dev/null for f in `basename "$MACHINE_ID"`-*.conf; do # Skip non-files and rescue entries if [ ! -f "$f" -o "${f: -12}" == "-rescue.conf" ]; then continue fi # Skip boom managed entries if [[ "$f" =~ \w*-[0-9a-f]{7,}-.*-.*.conf ]]; then continue fi if [ "${ARCH:0:4}" = "s390" ]; then # On s390(x), the zipl bootloader doesn't support variables, # unpatch TuneD variables which could be there from the previous TuneD # versions grep -q '^\s*options\s\+.*\$tuned_params' "$f" && sed -i '/^\s*options\s\+/ s/\s\+\$tuned_params\b//g' "$f" grep -q '^\s*initrd\s\+.*\$tuned_initrd' "$f" && sed -i '/^\s*initrd\s\+/ s/\s\+\$tuned_initrd\b//g' "$f" else # Not on s390(x), add TuneD variables if they are not there grep -q '^\s*options\s\+.*\$tuned_params' "$f" || sed -i '/^\s*options\s\+/ s/\(.*\)/\1 \$tuned_params/' "$f" grep -q '^\s*initrd\s\+.*\$tuned_initrd' "$f" || sed -i '/^\s*initrd\s\+/ s/\(.*\)/\1 \$tuned_initrd/' "$f" fi done popd &> /dev/null exit 0