diff --git a/hooks/busybox b/hooks/busybox index 6f2db8c..d6acd20 100755 --- a/hooks/busybox +++ b/hooks/busybox @@ -16,13 +16,7 @@ prereqs) esac # busybox -if [ "${BUSYBOX}" = "n" ] || [ ! -e ${BUSYBOXDIR}/busybox ]; then - # those root need busybox - eval "$(mount | awk '/ \/ / {print "r_dev=" $1; exit}')" - if [ "${r_dev#/dev/mapper/}" != "${r_dev}" ]; then - echo "W: Busybox is required for successful boot!" - fi -else +if [ "${BUSYBOX}" != "n" ] && [ -e ${BUSYBOXDIR}/busybox ]; then . /usr/share/initramfs-tools/hook-functions rm -f ${DESTDIR}/bin/sh rm -f ${DESTDIR}/bin/busybox