diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-05-05 14:08:39 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-05-05 14:08:39 +0000 |
commit | d7d8f6dfb26dfac0be1b474d044a2c04f7b35270 (patch) | |
tree | c36d99f2aa1a72abb2a8ea6f1cccdbd89db2eef0 | |
parent | f293d75cf817f06ff0d80426fb1438f350399c39 (diff) |
use update-rc.d instead of hard coding
BKrev: 4098f567fgZzU32PeMm7_80G41fjtg
-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 () { } |