summaryrefslogtreecommitdiff
path: root/packages/thttpd
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2005-08-02 18:44:17 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-02 18:44:17 +0000
commit9b2b7ba917c8248311dd10a4f1302b049995dc1d (patch)
tree34ed83c0826c175d43c8041bda00b5a22fa9ab46 /packages/thttpd
parent7b925c390ee5a13f47eea22f91dc193e3993ba70 (diff)
Use update-rc.d bbclass instead of manually doing update-rc.d
Diffstat (limited to 'packages/thttpd')
-rw-r--r--packages/thttpd/thttpd_2.25b.bb9
1 files changed, 1 insertions, 8 deletions
diff --git a/packages/thttpd/thttpd_2.25b.bb b/packages/thttpd/thttpd_2.25b.bb
index f33ff5924e..e6e15455c0 100644
--- a/packages/thttpd/thttpd_2.25b.bb
+++ b/packages/thttpd/thttpd_2.25b.bb
@@ -9,6 +9,7 @@ SRC_URI = "http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz \
file://acinclude.m4 \
file://init"
S = "${WORKDIR}/thttpd-${PV}"
+
INITSCRIPT_NAME = "thttpd"
INITSCRIPT_PARAMS = "defaults"
@@ -28,11 +29,3 @@ do_install_append () {
install -c -m 755 ${WORKDIR}/thttpd ${D}${sysconfdir}/init.d/thttpd
}
-pkg_postinst() {
- update-rc.d thttpd defaults 67
-}
-
-pkg_postrm() {
- update-rc.d thttpd remove
-}
-