X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=apache.init;h=145eef89e92eca7db042b8e2e0bba1fb938492a1;hb=0226390ad764c020d9a97bc7d89c822775d970c8;hp=ef9afb8a6f7069c14a9ba1bbffdf1c18e04ec368;hpb=b3d1e4ee992b60619c25997e31df3e2bd7c88170;p=packages%2Fapache.git diff --git a/apache.init b/apache.init index ef9afb8..145eef8 100644 --- a/apache.init +++ b/apache.init @@ -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 "$1" != stop -a "$1" != status ]; then # nls "ERROR: Networking is down. %s can't be run." msg_network_down httpd exit 1