fix iscsi init script check for network being up
This commit is contained in:
parent
832199ae01
commit
a04b98ffb3
@ -3,7 +3,7 @@
|
||||
Summary: iSCSI daemon and utility programs
|
||||
Name: iscsi-initiator-utils
|
||||
Version: 6.2.0.872
|
||||
Release: 9%{?dist}
|
||||
Release: 10%{?dist}
|
||||
Source0: http://people.redhat.com/mchristi/iscsi/rhel6.0/source/open-iscsi-2.0-872-rc4-bnx2i.tar.gz
|
||||
Source1: iscsid.init
|
||||
Source2: iscsidevs.init
|
||||
@ -176,6 +176,9 @@ fi
|
||||
%{_includedir}/libiscsi.h
|
||||
|
||||
%changelog
|
||||
* Mon Apr 25 2010 Mike Christie <mchristi@redhat.com> 6.2.0.872.10
|
||||
- Fix iscsi init scripts check for networking being up.
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
@ -39,7 +39,7 @@ start() {
|
||||
|
||||
# if the network isn't up yet exit cleanly, NetworkManager will call us
|
||||
# again when the network is up
|
||||
[ ! -f /var/lock/subsys/network -a ! -f /var/lock/subsys/NetworkManager ] && exit 0
|
||||
[ ! -f /var/lock/subsys/network ] && ! status NetworkManager >/dev/null 2>&1 && exit 0
|
||||
|
||||
# if no nodes are setup to startup automatically exit cleanly
|
||||
grep -qrs "node.startup = automatic" /var/lib/iscsi/nodes
|
||||
|
Loading…
Reference in New Issue
Block a user