diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2005-07-14 13:12:10 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-14 13:12:10 +0000 |
commit | 6b1a50e77050d8d0e5ccb230a10240bd1a85a323 (patch) | |
tree | cfaf013697ae3091a03dfbd692c9273c61edd73e | |
parent | f7008f8b4d6dd3a91eda4bc7389e565789b1c5da (diff) |
Updated initscript
Added thttpd to packages
-rw-r--r-- | packages/meta/openslug-packages.bb | 1 | ||||
-rw-r--r-- | packages/thttpd/files/init | 4 | ||||
-rw-r--r-- | packages/thttpd/thttpd_2.25b.bb | 3 |
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 |