\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82
| Path : /proc/thread-self/root/usr/libexec/ |
|
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
| Current File : //proc/thread-self/root/usr/libexec/iscsi-mark-root-nodes |
#!/usr/bin/bash
ISCSIADM=/usr/sbin/iscsiadm
start_iscsid=0
start_iscsiuio=0
while read t num p target flash; do
# strip tag number from portal, keep "ip:port"
portal=${p%,*}
transport=${t%:}
# use session number to find the iface name in use
num=${num#[}; num=${num%]}
iface=$(iscsiadm -m session -r $num | grep iface.iscsi_ifacename | cut -d= -f2)
$ISCSIADM -m node -p $portal -T $target -I $iface -o update -n node.startup -v onboot
start_iscsid=1
if [ "$transport" = bnx2i ] || [ "$transport" = qedi ]; then
start_iscsiuio=1
fi
done < <( $ISCSIADM -m session )
# force iscsid and iscsiuio to start if needed for
# recovering sessions created in the initrd
if [ "$start_iscsid" -eq 1 ]; then
systemctl --no-block start iscsid.service
fi
if [ "$start_iscsiuio" -eq 1 ]; then
systemctl --no-block start iscsiuio.service
fi