sh /usr/bin/update-alternatives --remove $bn $to
done </etc/busybox.links
}
+
+PACKAGES =+ "mdev"
+FILES_mdev = "${sysconfdir}/mdev ${sysconfdir}/mdev.conf ${sysconfdir}/init.d/mdev"
+RDEPENDS_mdev += "${PN}"
+
+pkg_postinst_mdev() {
+if test "x$D" != "x"; then
+ OPT="-r $D"
+else
+ OPT="-s"
+fi
+ update-rc.d $OPT mdev start 06 S .
+}
+
+
+
require busybox.inc
-PR = "r3"
+PR = "r4"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
install -m 0755 ${WORKDIR}/mdev ${D}${sysconfdir}/init.d/
}
-pkg_postinst_${PN}_append() {
-
- update-rc.d $OPT mdev start 06 S .
-}