]> git.pld-linux.org Git - packages/apache-tomcat.git/blobdiff - apache-tomcat.init
- allow some actions when network is down
[packages/apache-tomcat.git] / apache-tomcat.init
index 86873bc25058d509b3789e5520c79e6b68827fa8..364941cd4eb0958bbcfd8f01d2a3de194a5c821f 100644 (file)
@@ -20,7 +20,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
-       if [ ! -f /var/lock/subsys/network ]; then
+       if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down tomcat
                exit 1
This page took 0.0298929999999999 seconds and 4 git commands to generate.