Updated initscript
authorOyvind Repvik <nail@nslu2-linux.org>
Thu, 14 Jul 2005 13:12:10 +0000 (13:12 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 14 Jul 2005 13:12:10 +0000 (13:12 +0000)
Added thttpd to packages

packages/meta/openslug-packages.bb
packages/thttpd/files/init
packages/thttpd/thttpd_2.25b.bb

index 906a207..748a7d8 100644 (file)
@@ -83,6 +83,7 @@ OPENSLUG_PACKAGES = "\
        python \
        samba \
        sane-backends \
+       thttpd \
        vlan \
        wget \
        unionfs-modules unionfs-utils \
index 4e227d9..fdcd0f4 100644 (file)
@@ -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 ;
index 280b2de..e7b786c 100644 (file)
@@ -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