--- /etc/init.d/apache2 2008-01-31 21:51:30.000000000 +0000 +++ apache2 2008-03-09 16:29:33.000000000 +0000 @@ -116,7 +116,9 @@ LYNX="${LYNX:-lynx -dump}" STATUSURL="${STATUSURL:-http://localhost/server-status}" - if ! type -p ${LYNX} 2>&1 >/dev/null; then + if ! service_started "${SVCNAME}"; then + eerror "${SVCNAME} not started" + elif ! type -p ${LYNX} 2>&1 >/dev/null; then eerror "lynx not found! you need to emerge www-client/lynx" else ${LYNX} ${STATUSURL}