REDROOM
PHP 8.5.2
Path:
Logout
Edit File
Size: 711 B
Close
//lib/kernel/install.d/55-initrd.install
Text
Base64
#!/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
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
50-depmod.install
1.99 KB
lrwxr-xr-x
2024-02-27 17:26:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
55-initrd.install
711 B
lrwxr-xr-x
2025-11-25 17:33:40
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
90-loaderentry.install
6.96 KB
lrwxr-xr-x
2025-11-25 18:16:31
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
90-uki-copy.install
3.09 KB
lrwxr-xr-x
2024-02-27 17:26:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).