diff options
Diffstat (limited to 'packages/busybox/busybox.inc')
-rw-r--r-- | packages/busybox/busybox.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/busybox/busybox.inc b/packages/busybox/busybox.inc index e377406421..6d0988532b 100644 --- a/packages/busybox/busybox.inc +++ b/packages/busybox/busybox.inc @@ -174,3 +174,19 @@ pkg_prerm_${PN} () { 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 . +} + + + |