From f91e2d8febcca3bc8050b08579b61e63d0fd3081 Mon Sep 17 00:00:00 2001 From: Oyvind Repvik Date: Tue, 2 Aug 2005 18:22:06 +0000 Subject: Added update-rc.d in postinst --- packages/cron/cron_3.0pl1.bb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/cron/cron_3.0pl1.bb b/packages/cron/cron_3.0pl1.bb index 58a8806271..31137d07af 100644 --- a/packages/cron/cron_3.0pl1.bb +++ b/packages/cron/cron_3.0pl1.bb @@ -1,7 +1,7 @@ SECTION = "base" DESCRIPTION = "Vixie cron." LICENSE = "cron" -PR="r4" +PR="r5" DEPENDS += "install-native" SRC_URI = "http://ibiblio.org/pub/Linux/system/daemons/cron/cron${PV}.tar.gz \ @@ -19,3 +19,12 @@ do_install () { oe_runmake 'DESTDIR=${D}' install chmod ugo+rx ${D}${sbindir}/* ${D}${bindir}/* } +pkg_postinst() { + update-rc.d cron defaults 65 +} + +pkg_postrm() { + update-rc.d cron remove +} + + -- cgit v1.2.3