]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache.init
- update to new apr functions
[packages/apache.git] / apache.init
index 124535f48a39f5fd8e7fe33fa7801c7a4e711e7b..145eef89e92eca7db042b8e2e0bba1fb938492a1 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 "$1" != stop -a "$1" != status ]; then
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down httpd
                exit 1
@@ -58,7 +58,7 @@ case "$1" in
        ;;
   status)
        status httpd
-       RETVAL $?
+       RETVAL=$?
        /usr/sbin/httpd -S
        ;;
   restart)
This page took 0.067516 seconds and 4 git commands to generate.