diff options
-rw-r--r-- | modutils/modutils-collateral.oe | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/modutils/modutils-collateral.oe b/modutils/modutils-collateral.oe index 74e2d1d45d..d0e055bddd 100644 --- a/modutils/modutils-collateral.oe +++ b/modutils/modutils-collateral.oe @@ -5,19 +5,11 @@ SRC_URI = "file://${FILESDIR}/modules \ file://${FILESDIR}/modules.conf \ file://${FILESDIR}/modutils" -pkg_postinst () { - if test -n "${D}"; then - D="-r ${D}" - fi - update-rc.d $D modutils start 20 S . -} +INITSCRIPT_NAME = "modutils" +INITSCRIPT_PARAMS = "start 20 S ." + +inherit update-rc.d -pkg_prerm () { - if test -n "${D}"; then - D="-r ${D}" - fi - update-rc.d $D modutils remove -} do_compile () { } |