__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
set -eu
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
COMMAND="$1"
KERNEL_VERSION="$2"
INITRD_SRC="/boot/initrd.img-$KERNEL_VERSION"
[ "$COMMAND" = add ] || exit 0
if [ "$#" -ge 5 ]; then
# Explicit initrd paths were passed, fall through to default 90-loaderentry.install handling;
# we'd be either injecting an unwanted image or, worse, overriding a user-provided one
exit 0
fi
if [ -e "$INITRD_SRC" ]; then
[ "$KERNEL_INSTALL_VERBOSE" -gt 0 ] && echo "Installing '$INITRD_SRC'"
ln -fs "$INITRD_SRC" "$KERNEL_INSTALL_STAGING_AREA"
else
echo "$INITRD_SRC does not exist, not installing an initrd"
fi
exit 0
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 50-depmod.install | File | 1.99 KB | 0755 |
|
| 55-initrd.install | File | 711 B | 0755 |
|
| 90-loaderentry.install | File | 6.96 KB | 0755 |
|
| 90-uki-copy.install | File | 3.09 KB | 0755 |
|