# 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
;;
status)
status httpd
- RETVAL $?
+ RETVAL=$?
/usr/sbin/httpd -S
;;
restart)