diff options
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd')
-rwxr-xr-x | target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd new file mode 100755 index 000000000..202e9d2eb --- /dev/null +++ b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S42httpd @@ -0,0 +1,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 |