summaryrefslogtreecommitdiff
path: root/packages/thttpd
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-07-14 13:12:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-14 13:12:10 +0000
commit6b1a50e77050d8d0e5ccb230a10240bd1a85a323 (patch)
treecfaf013697ae3091a03dfbd692c9273c61edd73e /packages/thttpd
parentf7008f8b4d6dd3a91eda4bc7389e565789b1c5da (diff)
Updated initscript
Added thttpd to packages
Diffstat (limited to 'packages/thttpd')
-rw-r--r--packages/thttpd/files/init4
-rw-r--r--packages/thttpd/thttpd_2.25b.bb3
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/thttpd/files/init b/packages/thttpd/files/init
index 4e227d9f13..fdcd0f4530 100644
--- a/packages/thttpd/files/init
+++ b/packages/thttpd/files/init
@@ -18,7 +18,7 @@ case "$1" in
;;
stop)
echo -n "Stopping thttpd"
- start-stop-daemon --stop --quiet $thttpd
+ start-stop-daemon --stop --quiet --exec $thttpd
echo "."
;;
reload|force-reload)
@@ -26,7 +26,7 @@ case "$1" in
;;
restart)
echo -n "Stopping thttpd"
- start-stop-daemon --stop --quiet $thttpd
+ start-stop-daemon --stop --quiet --exec $thttpd
echo "."
echo -n "Waiting for thttpd to die off"
for i in 1 2 3 ;
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index 280b2dee7e..e7b786c1b0 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -2,12 +2,15 @@ DESCRIPTION = "A simple, small, portable, fast, and secure HTTP server."
LICENSE = "BSD"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
HOMEPAGE = "http://www.acme.com/software/thttpd/"
+PR="r1"
SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://install.patch;patch=1 \
file://acinclude.m4 \
file://init"
S = "${WORKDIR}/thttpd-${PV}"
+INITSCRIPT_NAME = "thttpd"
+INITSCRIPT_PARAMS = "defaults"
inherit autotools