Signed-off-by: Michael Tokarev <[email protected]>
---
 hooks/busybox |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

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
-- 
1.7.2.3


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to