]> git.pld-linux.org Git - packages/tomcat.git/commitdiff
- allow some actions when network is down
authorankry <ankry@pld-linux.org>
Thu, 3 Jul 2003 21:01:50 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-tomcat.init -> 1.4
    jakarta-tomcat.init -> 1.4

apache-tomcat.init
jakarta-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
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.054213 seconds and 4 git commands to generate.