kumquat-buildroot/target/device/Atmel/atstk1002/target_skeleton/etc/init.d/S42httpd
2007-08-17 13:02:52 +00:00

17 lines
188 B
Bash
Executable File

#!/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