summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd
blob: 202e9d2eb3741dc1bb8688b0843b74b1d8266c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

HTTPD=/usr/sbin/httpd

echo -n "Starting httpd:"
if [ ! -x "${HTTPD}" ]; then
	echo " missing"
	exit 1
fi

if ${HTTPD} -h /www > /dev/null 2> /dev/null; then
	echo " done"
else
	echo " failed"
	exit 1
fi