Comment 8 for bug 669142

Revision history for this message
SW (launchpad-mailinator) wrote :

I am not sure if my iscsi config is general for all ubuntus, but at least I replaced

if [ "$IFACE" = lo ]; then
        exit 0
fi

with

if iscsiadm -m iface --op=show | grep -q ",$(ip link show $IFACE 2>/dev/null | awk '$1=="link/ether" {print $2}')," ; then