summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/meta/openslug-packages.bb1
-rw-r--r--packages/thttpd/files/init4
-rw-r--r--packages/thttpd/thttpd_2.25b.bb3
3 files changed, 6 insertions, 2 deletions
diff --git a/packages/meta/openslug-packages.bb b/packages/meta/openslug-packages.bb
index 906a207f6c..748a7d8ca2 100644
--- a/packages/meta/openslug-packages.bb
+++ b/packages/meta/openslug-packages.bb
@@ -83,6 +83,7 @@ OPENSLUG_PACKAGES = "\
python \
samba \
sane-backends \
+ thttpd \
vlan \
wget \
unionfs-modules unionfs-utils \
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