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

apache.init
apache1.init

index ef9afb8a6f7069c14a9ba1bbffdf1c18e04ec368..1397cb113cc90b290e5c97957b7449dcbc044ee9 100644 (file)
@@ -23,7 +23,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 httpd
                exit 1
index 20047ddf7da6eae60d3461a0ca9e1b5c54ad370d..fcc381efadd4f0c489449175496988a185c8e51f 100644 (file)
@@ -21,7 +21,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 httpd
                exit 1
This page took 0.039145 seconds and 4 git commands to generate.