Actually, I've slighly updated it :

# Support for ifupdown script.
# Don't bother to restart when lo is configured.
if [ "$IFACE" != "$ISCSI_INTERFACE" ] && [ -n "$IFACE" ]; then
        echo "Not restarting ISCSI daemon... (check the value of 
ISCSI_INTERFACE)"
        exit 0
fi

Which means that I restart iscsi when the explicitely interface is set,
but you are still able to restart the iscsi daemon while you invoke the
script.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/669142

Title:
  if-up.d/if-down.d scripts restart iSCSI inappropriately

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/669142/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to