summaryrefslogtreecommitdiff
path: root/ifplugd/ifplugd_0.20.oe
diff options
context:
space:
mode:
Diffstat (limited to 'ifplugd/ifplugd_0.20.oe')
-rw-r--r--ifplugd/ifplugd_0.20.oe17
1 files changed, 3 insertions, 14 deletions
diff --git a/ifplugd/ifplugd_0.20.oe b/ifplugd/ifplugd_0.20.oe
index bb89659240..18e9a66c94 100644
--- a/ifplugd/ifplugd_0.20.oe
+++ b/ifplugd/ifplugd_0.20.oe
@@ -5,20 +5,9 @@ LICENSE = "GPL"
SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz"
-inherit autotools
+inherit autotools update-rc.d
EXTRA_OECONF = "--disable-lynx"
-pkg_postinst () {
- if test -n "${D}"; then
- D="-r $D"
- fi
- update-rc.d $D ifplugd defaults
-}
-
-pkg_prerm () {
- if test -n "${D}"; then
- D="-r $D"
- fi
- update-rc.d $D ifplugd remove
-}
+INITSCRIPT_NAME = "ifplugd"
+INITSCRIPT_PARAMS = "defaults" \ No newline at end of file