OXIESEC PANEL
- Current Dir:
/
/
snap
/
core20
/
2582
/
usr
/
lib
/
kernel
/
install.d
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/29/2025 04:07:52 PM
rwxr-xr-x
📄
00-entry-directory.install
748 bytes
04/01/2020 05:23:42 PM
rwxr-xr-x
📄
50-depmod.install
833 bytes
04/01/2020 05:23:42 PM
rwxr-xr-x
📄
85-initrd.install
567 bytes
06/17/2024 08:29:39 PM
rwxr-xr-x
📄
90-loaderentry.install
3.4 KB
04/01/2020 05:23:42 PM
rwxr-xr-x
Editing: 85-initrd.install
Close
#!/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" BOOT_DIR_ABS="$3" INITRD_SRC="/boot/initrd.img-$KERNEL_VERSION" INITRD_DEST="$BOOT_DIR_ABS/initrd" if [ "$COMMAND" = remove ]; then rm -f "$INITRD_DEST" exit 0 fi if [ "$COMMAND" != add ]; then echo "Invalid command $COMMAND" >&2 exit 1 fi if [ -e "$INITRD_SRC" ];then cp "$INITRD_SRC" "$INITRD_DEST" else echo "$INITRD_SRC does not exist, not installing an initrd" fi exit 0