diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-04-30 15:42:08 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-04-30 15:42:08 +0000 |
commit | 604f1a00002215a6d97272f775de2af15c373ef4 (patch) | |
tree | ce7d123820f5f6f6fcfa3786d20c3e7e318294fe /netbase/netbase_4.16.oe | |
parent | 8d6ccc3fa336d003aba7040960b9677a04bd5eb1 (diff) |
use update-rc.d.oeclass - patch courtesy pb_.
BKrev: 409273d0MzNYPzRDpajh0WPsJ1Glwg
Diffstat (limited to 'netbase/netbase_4.16.oe')
-rw-r--r-- | netbase/netbase_4.16.oe | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/netbase/netbase_4.16.oe b/netbase/netbase_4.16.oe index 2ced8ce106..f03d8ae3cc 100644 --- a/netbase/netbase_4.16.oe +++ b/netbase/netbase_4.16.oe @@ -1,9 +1,14 @@ -PR = "r2" +PR = "r3" DESCRIPTION = "This package provides the necessary \ infrastructure for basic TCP/IP based networking." DEPENDS = "update-rc.d" RDEPENDS = "update-rc.d" +inherit update-rc.d + +INITSCRIPT_NAME = "networking" +INITSCRIPT_PARAMS = "start 40 S . stop 40 0 6 1 ." + SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz" do_install () { @@ -23,17 +28,3 @@ do_install () { install -m 0644 update-inetd.8 ${D}/${mandir}/man8/ install -m 0644 ${FILESDIR}/interfaces ${D}/${sysconfdir}/network/interfaces } - -pkg_postinst () { - if test -n "${D}"; then - D="-r ${D}" - fi - update-rc.d $D networking start 40 S . stop 40 0 6 1 . -} - -pkg_prerm () { - if test -n "${D}"; then - D="-r ${D}" - fi - update-rc.d $D networking remove -} |