diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 09:47:41 +0000 |
commit | 2c5b8ec6d95cf68650265941530e5ce38c8dd6d9 (patch) | |
tree | bf879bea7ef8517ba8c3d1286ef300401d3d484c /busybox/files/busybox-httpd | |
parent | 101e2f1623def0a355d20aacb8bd93810703e834 (diff) |
Merge oe-devel@oe-devel.bkbits.net:openembedded
into hyperion.kergoth.com:/home/kergoth/code/openembedded
2004/12/09 03:39:39-06:00 kergoth.com!kergoth
Break people's builds again.. this time moving the packages into a packages/ subdir to clean things up a bit.
BKrev: 41b81f3dvlp3rU7_8MUXLcI8LDdDoA
Diffstat (limited to 'busybox/files/busybox-httpd')
-rw-r--r-- | busybox/files/busybox-httpd | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/busybox/files/busybox-httpd b/busybox/files/busybox-httpd deleted file mode 100644 index 764b4fe5b5..0000000000 --- a/busybox/files/busybox-httpd +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -DAEMON=/usr/sbin/httpd -NAME=httpd -DESC="Busybox HTTP Daemon" -HTTPROOT="/srv/www" -ARGS="-h $HTTPROOT" - -test -f $DAEMON || exit 0 - -set -e - -case "$1" in - start) - echo -n "starting $DESC: $NAME... " - if [ ! -f /etc/httpd.conf ]; then - echo "/etc/httpd.conf is missing." - exit 1 - fi - if [ ! -d $HTTPROOT ]; then - echo "$HTTPROOT is missing." - exit 1 - fi - start-stop-daemon -S -b -n $NAME -a $DAEMON -- $ARGS - echo "done." - ;; - stop) - echo -n "stopping $DESC: $NAME... " - start-stop-daemon -K -n $NAME - echo "done." - ;; - restart) - echo "restarting $DESC: $NAME... " - $0 stop - $0 start - echo "done." - ;; - reload) - echo -n "reloading $DESC: $NAME... " - killall -HUP $(basename ${DAEMON}) - echo "done." - ;; - *) - echo "Usage: $0 {start|stop|restart|reload}" - exit 1 - ;; -esac - -exit 0 |