OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
initramfs-tools
/
hooks
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:13:20 AM
rwxr-xr-x
📄
bcache
543 bytes
08/05/2020 08:44:05 PM
rwxr-xr-x
📄
btrfs
597 bytes
03/12/2018 11:04:27 PM
rwxr-xr-x
📄
cloud-initramfs-dyn-netconf
118 bytes
09/20/2018 01:29:41 PM
rwxr-xr-x
📄
compcache
3.52 KB
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
console_setup
3.07 KB
04/23/2019 12:04:14 PM
rwxr-xr-x
📄
copymods
280 bytes
09/20/2018 01:29:41 PM
rwxr-xr-x
📄
cryptgnupg
979 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptkeyctl
451 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptopenct
1.53 KB
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptopensc
1.81 KB
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptpassdev
913 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptroot
24.48 KB
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
cryptroot-unlock
425 bytes
08/03/2020 09:28:48 PM
rwxr-xr-x
📄
dmsetup
506 bytes
01/23/2020 03:45:10 PM
rwxr-xr-x
📄
fixrtc
412 bytes
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
framebuffer
528 bytes
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
fsck
2.1 KB
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
fuse
230 bytes
08/11/2016 12:52:18 PM
rwxr-xr-x
📄
iscsi
724 bytes
04/06/2022 07:19:56 PM
rwxr-xr-x
📄
kbd
301 bytes
01/22/2018 01:49:48 PM
rwxr-xr-x
📄
klibc-utils
843 bytes
01/26/2017 02:33:18 PM
rwxr-xr-x
📄
kmod
424 bytes
07/28/2020 02:46:39 PM
rwxr-xr-x
📄
lvm2
670 bytes
01/23/2020 03:45:10 PM
rwxr-xr-x
📄
mdadm
2.83 KB
01/14/2020 07:10:59 PM
rwxr-xr-x
📄
ntfs_3g
304 bytes
11/01/2022 11:57:16 AM
rwxr-xr-x
📄
overlayroot
732 bytes
09/20/2018 01:29:41 PM
rwxr-xr-x
📄
plymouth
5.15 KB
04/04/2019 03:41:18 PM
rwxr-xr-x
📄
resume
2.21 KB
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
thermal
1.25 KB
03/18/2021 06:48:17 PM
rwxr-xr-x
📄
udev
1.67 KB
12/10/2021 09:15:07 AM
rwxr-xr-x
📄
zz-busybox-initramfs
1.33 KB
11/24/2021 07:05:22 PM
rwxr-xr-x
📄
zz-dhclient
411 bytes
02/26/2021 04:58:50 PM
rwxr-xr-x
Editing: resume
Close
#!/bin/sh PREREQ="" prereqs() { echo "$PREREQ" } case $1 in # get pre-requisites prereqs) prereqs exit 0 ;; esac . /usr/share/initramfs-tools/scripts/functions # First check if a location is set and is a valid swap partition. # If so, the config file will be copied in and there is nothing to do. if [ -n "$RESUME" ] && [ "$RESUME" != auto ]; then if [ "$RESUME" = none ]; then exit 0 fi if resume_dev_node="$(resolve_device "$RESUME")" && \ blkid -p -n swap "$resume_dev_node" >/dev/null 2>&1; then exit 0 fi echo >&2 "W: initramfs-tools configuration sets RESUME=$RESUME" echo >&2 "W: but no matching swap device is available." fi # If we were not explicitly requested to select a device, report that we # are doing so report_auto() { test "$RESUME" = auto || echo >&2 "I: $*" } # We need to be able to read the listed swap partitions if ischroot || [ ! -r /proc/swaps ]; then resume_auto= else # Try to autodetect the RESUME partition, using biggest swap? resume_auto=$(grep ^/dev/ /proc/swaps | sort -rnk3 | head -n 1 | cut -d " " -f 1) if [ -n "$resume_auto" ]; then dm_name="$(dmsetup info -c --noheadings -o name "$resume_auto" 2>/dev/null)" fi if [ -n "$dm_name" ] && [ -e /etc/crypttab ]; then while read cryptdev srcdev keyfile junk; do if [ "$cryptdev" = "$dm_name" ] && [ "$keyfile" = /dev/urandom ]; then resume_auto= fi done < /etc/crypttab fi if [ -n "$resume_auto" ]; then if [ -n "$dm_name" ]; then resume_auto_canon="/dev/mapper/$dm_name" elif UUID=$(blkid -s UUID -o value "$resume_auto"); then resume_auto_canon="UUID=$UUID" else resume_auto_canon= fi report_auto "The initramfs will attempt to resume from $resume_auto" if [ -n "$resume_auto_canon" ]; then report_auto "($resume_auto_canon)" resume_auto="$resume_auto_canon" fi report_auto "Set the RESUME variable to override this." fi fi # Write selected resume device to intramfs conf.d if [ "$RESUME" = auto ] || [ -n "$resume_auto" ]; then # If we were explicitly requested to select a device, and we failed, # report that if [ -z "$resume_auto" ]; then echo >&2 "W: initramfs-tools failed to select a resume device" fi echo "RESUME=${resume_auto}" > ${DESTDIR}/conf/conf.d/zz-resume-auto fi