Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.208
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
build /
GNU /
Linux /
Delete
Unzip
Name
Size
Permission
Date
Action
005_create_symlinks.sh
1.36
KB
-rw-r--r--
2026-04-01 09:39
090_create_lib_directories_and_symlinks.sh
486
B
-rw-r--r--
2026-04-01 09:39
100_copy_as_is.sh
11.62
KB
-rw-r--r--
2026-04-01 09:39
110_touch_empty_files.sh
401
B
-rw-r--r--
2026-04-01 09:39
130_create_dotfiles.sh
2.19
KB
-rw-r--r--
2026-04-01 09:39
150_adjust_permissions.sh
213
B
-rw-r--r--
2026-04-01 09:39
390_copy_binaries_libraries.sh
7.65
KB
-rw-r--r--
2026-04-01 09:39
400_copy_modules.sh
17.67
KB
-rw-r--r--
2026-04-01 09:39
420_copy_firmware_files.sh
2.92
KB
-rw-r--r--
2026-04-01 09:39
450_symlink_mingetty.sh
266
B
-rw-r--r--
2026-04-01 09:39
600_verify_and_adjust_udev.sh
4.11
KB
-rw-r--r--
2026-04-01 09:39
610_verify_and_adjust_udev_systemd.sh
1.53
KB
-rw-r--r--
2026-04-01 09:39
620_verify_os_release_file.sh
453
B
-rw-r--r--
2026-04-01 09:39
630_simplify_systemd_reboot_halt_poweroff_shutdown.sh
3.06
KB
-rw-r--r--
2026-04-01 09:39
630_verify_resolv_conf_file.sh
6
KB
-rw-r--r--
2026-04-01 09:39
640_verify_lvm_conf.sh
1.18
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# 420_copy_firmware_files.sh # # Copy firmware files to the rescue/recovery system. # The special value FIRMWARE_FILES=( 'no' ) or any value that # is recognized as 'no' by the is_false function enforces that # no files from the /lib*/firmware/ directories get included # in the rescue/recovery system: if is_false "$FIRMWARE_FILES" ; then LogPrint "Omit copying files in /lib*/firmware/ (FIRMWARE_FILES='$FIRMWARE_FILES')" return fi # The by default empty FIRMWARE_FILES array means that # usually all files in the /lib*/firmware/ directories # get included in the rescue/recovery system but on certain # architectures like ppc64 or ppc64le FIRMWARE_FILES could be set different # (cf. the conf/Linux-ppc64.conf and conf/Linux-ppc64le.conf scripts) # or FIRMWARE_FILES was specified by the user: test "${FIRMWARE_FILES[*]}" || FIRMWARE_FILES=( 'yes' ) # The special value FIRMWARE_FILES=( 'yes' ) or any value that # is recognized as 'yes' by the is_true function enforces that # all files from the /lib*/firmware/ directories get included # in the rescue/recovery system: if is_true "$FIRMWARE_FILES" ; then LogPrint "Copying all files in /lib*/firmware/" # Use a simple 'cp -a' for this case to be safe against possible issues # with the more complicated 'find ... | xargs cp' method below. # The '--parents' is needed to get the '/lib*/' directory in the copy. # It is crucial to append to /dev/$DISPENSABLE_OUTPUT_DEV (cf. 'Print' in lib/_framework-setup-and-functions.sh): cp $verbose -t $ROOTFS_DIR -a --parents /lib*/firmware 2>>/dev/$DISPENSABLE_OUTPUT_DEV 1>&2 return fi # Finally the more complicated case, # cf. "Return early, return often" in https://github.com/rear/rear/wiki/Coding-Style LogPrint "Copying files from /lib*/firmware/ that match ${FIRMWARE_FILES[@]}" for find_ipath_pattern in "${FIRMWARE_FILES[@]}" ; do # No need to test if find_ipath_pattern is empty because 'find' does not find anything with empty '-ipath'. # The 'cp --parents' does not copy empty directories which should not matter (a directory without a firmware file is useless) and # it may report "cp: omitting directory ..." so that this particular stderr message is filtered out because it is meaningless here # and 'cp -L' ensures that when during 'find -ipath' only a symbolic link name matches, the actual firmware file gets copied # (note that 'find -L' would not work because it still outputs the symbolic link name). # Ignore errors in this complicated case because it is in practice impossible to decide what errors should be fatal. # For example when 'find' does not find anything for a find_ipath_pattern 'cp' fails with "cp: missing file operand" # and 'grep -v foo' results exit code 1 if 'foo' is in all input lines (i.e. when 'grep -v' results no output): find /lib*/firmware -ipath "$find_ipath_pattern" | xargs cp $verbose -t $ROOTFS_DIR -p -L --parents 2>&1 | grep -v 'omitting directory' 1>&2 || true done