701475f791
Submitted by Hans-Christian Egtvedt
17 lines
188 B
Bash
17 lines
188 B
Bash
#!/bin/sh
|
|
|
|
HTTPD=/usr/sbin/httpd
|
|
|
|
echo -n "Starting httpd: "
|
|
if [ ! -x "${HTTPD}" ]; then
|
|
echo "missing"
|
|
exit 1
|
|
fi
|
|
|
|
if ${HTTPD} -h /www; then
|
|
echo "done"
|
|
else
|
|
echo "failed"
|
|
exit 1
|
|
fi
|