HEX
Server: Apache
System: Linux host.fiblib.com 5.14.0-570.58.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 29 06:24:11 EDT 2025 x86_64
User: scientificreligi (1062)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/dracut/modules.d/95iscsi/mount-lun.sh
#!/usr/bin/sh
if [ -z "$iscsi_lun" ]; then
    iscsi_lun=0
fi
NEWROOT=${NEWROOT:-/sysroot}

for disk in /dev/disk/by-path/*-iscsi-*-"$iscsi_lun"; do
    if mount -t "${fstype:-auto}" -o "$rflags" "$disk" "$NEWROOT"; then
        if [ ! -d "$NEWROOT"/proc ]; then
            umount "$disk"
            continue
        fi
        break
    fi
done