summaryrefslogtreecommitdiff
path: root/netbase/netbase_4.16.oe
diff options
context:
space:
mode:
Diffstat (limited to 'netbase/netbase_4.16.oe')
-rw-r--r--netbase/netbase_4.16.oe21
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
-}