diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2005-08-02 18:22:06 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-02 18:22:06 +0000 |
commit | f91e2d8febcca3bc8050b08579b61e63d0fd3081 (patch) | |
tree | 1177e3e1dac905ae27ad2451924847b81821576a | |
parent | 40f3e1b35db575ce80d1867e1fcb970b91e2a2aa (diff) |
Added update-rc.d in postinst
-rw-r--r-- | packages/cron/cron_3.0pl1.bb | 11 |
1 files changed, 10 insertions, 1 deletions
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 +} + + |