|
|
LYNX="${LYNX:-lynx -dump}" | LYNX="${LYNX:-lynx -dump}" |
STATUSURL="${STATUSURL:-http://localhost/server-status}" | 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" | eerror "lynx not found! you need to emerge www-client/lynx" |
else | else |
${LYNX} ${STATUSURL} | ${LYNX} ${STATUSURL} |